diff options
Diffstat (limited to 'ansible/host_vars')
| -rw-r--r-- | ansible/host_vars/lovelace/prometheus.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ansible/host_vars/lovelace/prometheus.yml b/ansible/host_vars/lovelace/prometheus.yml index 5d114a1..cf748d0 100644 --- a/ansible/host_vars/lovelace/prometheus.yml +++ b/ansible/host_vars/lovelace/prometheus.yml @@ -1,4 +1,13 @@ --- + +prometheus_cmdline_options: " --web.config.file=/etc/prometheus/web_config.yml" + +prometheus_web_configuration: + tls_server_config: + cert_file: "/etc/letsencrypt/live/prometheus.{{ inventory_hostname }}.box.pydis.wtf/fullchain.pem" + key_file: "/etc/letsencrypt/live/prometheus.{{ inventory_hostname }}.box.pydis.wtf/privkey.pem" + + prometheus_configuration: global: scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. |