Verified Commit bd19c007 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Add configuration to retain prometheus data for 1 year

Start monitoring prometheus to keep check of the database growth rate
and retain data for a longer preriod in prometheus.
parent f2703b1f
Pipeline #2059 passed with stage
in 39 seconds
PROMETHEUS_ARGS="--storage.tsdb.retention.time=365d"
......@@ -7,6 +7,10 @@
template: src=prometheus.yml.j2 dest=/etc/prometheus/prometheus.yml owner=root group=root mode=644
notify: reload prometheus
- name: install prometheus cli configuration
copy: src=prometheus.conf dest=/etc/conf.d/prometheus owner=root group=root mode=600
notify: reload prometheus
- name: install prometheus alert configuration
copy: src=node.rules.yml dest=/etc/prometheus/node.rules.yml owner=root group=root mode=644
notify: reload prometheus
......
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