summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/defaults/main/main.yml
blob: c9291172c82da2ee1ee2e0bfc54795cdffec9385 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
# prometheus_server_storage:
#   type: (zfs|lvm)
#   ...

prometheus_server_retention: "15d"

prometheus_server_jobs:
  - node

prometheus_server_rules:
  prometheus: "{{ prometheus_server_rules_prometheus + ((prometheus_server_alertmanager is defined) | ternary(prometheus_server_rules_prometheus_alertmanager, [])) + prometheus_server_rules_prometheus_extra }}"
  node: "{{ prometheus_server_rules_node + prometheus_server_rules_prometheus_extra }}"

# prometheus_server_alertmanager:
#   url: "127.0.0.1:9093"
#   path_prefix: /

prometheus_server_web_listen_address: 127.0.0.1:9090
# prometheus_server_web_external_url: /prometheus/