prometheus: allow setting custom retention time

15 days is default and also too short.
This commit is contained in:
Timotej Lazar 2025-11-04 14:18:56 +01:00 committed by Gašper Fele-Žorž
parent e6664d0d4c
commit 05fe7eaf08
3 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,3 @@
Install and configure prometheus.
Job definitions should be placed in /etc/prometheus/conf.d by roles using this one.
Job definitions should be placed in /etc/prometheus/conf.d by roles using this one. Data retention time can be set with the `retention` property in a NetBox config context.