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

prometheus_server_retention: "15d"

prometheus_server_jobs:
  - node
#prometheus_server_jobs_extra: |
#  - job_name: ...

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/