prometheus-docker
Network Services• Management, Other, Tools / Utilities• Utilities
This is the Prometheus you already know and love, but with an easy way to configure the retention time for the data you collect. The default value for retention time is 15 days, but there is no way to change this in the config file. This value can only be set with a flag at startup. This image allows you to configure the retention time using an environment variable and allows for other startup flags to be added later if needed. For more info on the storage-related startup flags, see: https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects