Skip to content
Snippets Groups Projects
Verified Commit bd19c007 authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
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
No related branches found
No related tags found
No related merge requests found
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment