mirror of https://github.com/ceph/ceph-ansible.git
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
parent
595a61c137
commit
04c18710ac
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue