Skip to content

Commit 058b3ae

Browse files
authored
Use consistent naming format for webservers
This will be split in the dashboard for webservers to select the correct query based on used techniques.
1 parent a6f9d50 commit 058b3ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

icpc-wf/ansible/roles/grafana/templates/prometheus.yml.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,25 +64,25 @@ scrape_configs:
6464
{% for host in groups["domserver"] %}
6565
- {{ hostvars[host].ansible_host }}
6666
{% endfor %}
67-
- job_name: 'nginx_cds'
67+
- job_name: 'web_nginx_cds'
6868
static_configs:
6969
- targets:
7070
{% for host in groups["cds"] %}
7171
- {{ hostvars[host].ansible_host }}:9113
7272
{% endfor %}
73-
- job_name: 'nginx_scoreboard'
73+
- job_name: 'web_nginx_scoreboard'
7474
static_configs:
7575
- targets:
7676
{% for host in groups["scoreboard"] %}
7777
- {{ hostvars[host].ansible_host }}:9113
7878
{% endfor %}
79-
- job_name: 'nginx_domjudge'
79+
- job_name: 'web_nginx_domserver'
8080
static_configs:
8181
- targets:
8282
{% for host in groups["domserver"] %}
8383
- {{ hostvars[host].ansible_host }}:9113
8484
{% endfor %}
85-
- job_name: 'fpm_domjudge'
85+
- job_name: 'web_fpm_domserver'
8686
static_configs:
8787
- targets:
8888
{% for host in groups["domserver"] %}

0 commit comments

Comments
 (0)