Commit 87d87db9 authored by HgO's avatar HgO
Browse files

set prometheus external url

parent 46e0498a
Pipeline #820 passed with stage
in 3 minutes and 15 seconds
telegraf_prometheus_client_listen_address: localhost
prometheus_version: 2.33.3
prometheus_url: "http://{{ ansible_fqdn }}"
prometheus_telegraf_hosts: "{{ groups.all }}"
prometheus_username: prometheus
......
prometheus_url: "https://prometheus.neutrinet.be"
prometheus_telegraf_hosts:
- "{{ inventory_hostname }}"
- vpn.neutri.net
......
prometheus_version: 2.33.3
prometheus_url: "https://{{ ansible_fqdn }}"
prometheus_telegraf_hosts: "{{ groups.all }}"
prometheus_username: prometheus
prometheus_password: neutrinet
......
......@@ -13,6 +13,7 @@ ExecStart=/usr/local/bin/prometheus \
--storage.tsdb.path={{ prometheus_storage_path }} \
--storage.tsdb.retention.time={{ prometheus_storage_retention }} \
--web.listen-address='localhost:9090' \
--web.external-url='{{ prometheus_url }}' \
{% if not prometheus_remote_write_url %}
{# If we did NOT provide a remote write url, that means we are the receiver #}
--web.enable-remote-write-receiver \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment