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>
(cherry picked from commit 1d56818658)
pull/6127/head v4.0.60
Dimitri Savineau 2021-07-02 09:13:43 -04:00 committed by Dimitri Savineau
parent 595a61c137
commit 04c18710ac
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: