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/6663/head
parent
21a6cc2cdf
commit
6bda641584
|
@ -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