prometheus: fix prometheus target url

The prometheus service isn't binding on localhost.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1933560

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
pull/6665/head
Dimitri Savineau 2021-07-02 09:13:43 -04:00 committed by Guillaume Abrioux
parent d704b05e52
commit 1d56818658
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ rule_files:
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:{{ prometheus_port }}']
- targets: ['{{ grafana_server_addr }}:{{ prometheus_port }}']
- job_name: 'ceph'
honor_labels: true
static_configs: