add retention time to prometheus

This commit is contained in:
2021-10-01 17:13:20 +02:00
parent 7bffb508cd
commit b537ee316c
2 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,7 @@
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--storage.tsdb.retention.time={{ prometheus_retention_time }}'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
- '--web.enable-admin-api'