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
parent 5ba04824f1
commit be7eca3a89
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.