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/6663/head
Dimitri Savineau 2021-07-02 09:13:43 -04:00 committed by Dimitri Savineau
parent 21a6cc2cdf
commit 6bda641584
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: