diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-08-07 17:35:38 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-08-07 17:35:38 +0200 |
commit | dd1143e03a3c84a89956df3ccaec64ea77f3ca95 (patch) | |
tree | a03a33a1d90feeb28fdb64595b30d74707cfa692 /inventory/host_vars/ele-calypso.yml | |
parent | only create grafana-dashboard sub-dirs once... (diff) |
prometheus: make instance name for scraping alertmanager metrics configurable
Diffstat (limited to 'inventory/host_vars/ele-calypso.yml')
-rw-r--r-- | inventory/host_vars/ele-calypso.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inventory/host_vars/ele-calypso.yml b/inventory/host_vars/ele-calypso.yml index 51c324ab..90e92097 100644 --- a/inventory/host_vars/ele-calypso.yml +++ b/inventory/host_vars/ele-calypso.yml @@ -101,6 +101,7 @@ prometheus_server_storage: prometheus_server_alertmanager: url: "127.0.0.1:9093" path_prefix: "/alertmanager/" + scrape_instance: "{{ inventory_hostname }}" prometheus_server_web_external_url: "http://{{ network.primary.address | ansible.utils.ipaddr('address') }}/prometheus/" |