Adding metrics tag to all nodeexporter/prometheus/grafana roles.

This commit is contained in:
Samuel Clay 2021-05-21 12:02:07 -04:00
parent 68e2729416
commit deadb36c92
14 changed files with 18 additions and 20 deletions

View file

@ -15,7 +15,7 @@
- {role: 'dnsmasq', tags: 'dnsmasq'}
- {role: 'consul', tags: 'consul'}
- {role: 'consul-client', tags: 'consul'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'web', tags: 'web'}
- {role: 'nginx', tags: 'nginx'}
# - {role: 'netdata', tags: 'netdata'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}

View file

@ -15,4 +15,4 @@
- {role: 'dnsmasq', tags: 'dnsmasq'}
- {role: 'consul', tags: 'consul'}
- {role: 'consul-manager', tags: 'consul'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}

View file

@ -15,7 +15,7 @@
- {role: 'dnsmasq', tags: 'dnsmasq'}
- {role: 'consul', tags: 'consul'}
- {role: 'consul-client', tags: 'consul'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
- {role: 'web', tags: 'web'}
- {role: 'node', tags: 'node'}
- {role: 'nginx', tags: 'nginx'}

View file

@ -15,6 +15,6 @@
# - {role: 'dnsmasq', tags: 'dnsmasq'}
# - {role: 'consul', tags: 'consul'}
# - {role: 'consul-client', tags: 'consul'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
- {role: 'docker-compose', tags: 'docker-compose'}
- {role: 'backups', tags: 'backups'}

View file

@ -14,6 +14,6 @@
- {role: 'dnsmasq', tags: 'dnsmasq'}
- {role: 'consul', tags: 'consul'}
- {role: 'consul-client', tags: 'consul'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
- {role: 'elasticsearch', tags: 'elasticsearch'}
- {role: 'monitor', tags: 'monitor'}

View file

@ -16,6 +16,6 @@
- {role: 'consul', tags: 'consul'}
- {role: 'consul-client', tags: 'consul'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'prometheus', tags: 'prometheus'}
- {role: 'grafana', tags: 'grafana'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
- {role: 'prometheus', tags: ['prometheus', 'metrics']}
- {role: 'grafana', tags: ['grafana', 'metrics']}

View file

@ -15,7 +15,7 @@
- {role: 'dnsmasq', tags: 'dnsmasq'}
- {role: 'consul', tags: 'consul'}
- {role: 'consul-client', tags: 'consul'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
- {role: 'mongo', tags: 'mongo'}
- {role: 'monitor', tags: 'monitor'}
- {role: 'benchmark', tags: 'benchmark'}

View file

@ -15,6 +15,6 @@
- {role: 'dnsmasq', tags: 'dnsmasq'}
- {role: 'consul', tags: 'consul'}
- {role: 'consul-client', tags: 'consul'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
- {role: 'node', tags: 'node'}

View file

@ -15,6 +15,6 @@
- {role: 'dnsmasq', tags: 'dnsmasq'}
- {role: 'consul', tags: 'consul'}
- {role: 'consul-client', tags: 'consul'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
- {role: 'postgres', tags: 'postgres'}
- {role: 'monitor', tags: 'monitor'}

View file

@ -14,6 +14,6 @@
- {role: 'dnsmasq', tags: 'dnsmasq'}
- {role: 'consul', tags: 'consul'}
- {role: 'consul-client', tags: 'consul'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
- {role: 'redis', tags: 'redis'}
- {role: 'monitor', tags: 'monitor'}

View file

@ -22,6 +22,6 @@
- {role: 'web', tags: 'web'}
- {role: 'nginx', tags: 'nginx'}
- {role: 'node', tags: 'node'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'prometheus', tags: 'prometheus'}
- {role: 'grafana', tags: 'grafana'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
- {role: 'prometheus', tags: ['prometheus', 'metrics']}
- {role: 'grafana', tags: ['grafana', 'metrics']}

View file

@ -16,5 +16,5 @@
- {role: 'consul-client', tags: 'consul'}
- {role: 'apns', tags: 'apns'}
# - {role: 'netdata', tags: 'netdata'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
- {role: 'celery_task', tags: 'celery'}

View file

@ -15,7 +15,7 @@
- {role: 'dnsmasq', tags: 'dnsmasq'}
- {role: 'consul', tags: 'consul'}
- {role: 'consul-client', tags: 'consul'}
- {role: 'node-exporter', tags: 'node-exporter'}
- {role: 'node-exporter', tags: ['node-exporter', 'metrics']}
- {role: 'monitor', tags: 'monitor'}
- {role: 'letsencrypt', tags: 'letsencrypt'}
- {role: 'haproxy', tags: 'haproxy'}

View file

@ -15,8 +15,6 @@
when: "'elasticsearch' in group_names"
- import_playbook: playbooks/setup_task.yml
when: "'task' in group_names"
# - import_playbook: playbooks/setup_debug.yml
# when: "'debugs' in group_names"
- import_playbook: playbooks/setup_consul_manager.yml
when: "'consul' in group_names"
- import_playbook: playbooks/setup_staging.yml