summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-calypso.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-08-07 17:35:38 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-08-07 17:35:38 +0200
commitdd1143e03a3c84a89956df3ccaec64ea77f3ca95 (patch)
treea03a33a1d90feeb28fdb64595b30d74707cfa692 /inventory/host_vars/ele-calypso.yml
parentonly 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.yml1
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/"