bitcoiner.social/ansible/group_vars/observability/prometheus.yml

18 lines
764 B
YAML

--- # prometheus.prometheus.prometheus role variables
prometheus_web_listen_address: "127.0.0.1:9090"
# https://www.robustperception.io/using-external-urls-and-proxies-with-prometheus/
# Note that the grafana_datasources variable also needs to reflect this path.
prometheus_web_external_url: "https://{{ inventory_hostname }}/prometheus/"
# https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects
prometheus_storage_retention: 365d
prometheus_storage_retention_size: 10GB
#prometheus_config_flags_extra:
# storage.tsdb.wal-compression: # enabled by default
prometheus_alertmanager_config:
- path_prefix: alertmanager/
static_configs:
- targets: [ "127.0.0.1:9093" ]
prometheus_alert_rules_files:
- "/etc/prometheus/rules/*.rules"