-
-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow configuration of Prometheus storage.tsdb.retention.time #175
Labels
enhancement
New feature or request
Comments
Inside prometheus_tsdb_retention_time: 90d
|
gobrowse
added a commit
to gobrowse/internet-pi
that referenced
this issue
Dec 5, 2022
Fixes geerlingguy#175: Allow configuration of Prometheus time series retention t…
martinbrose
pushed a commit
to martinbrose/internet-pi
that referenced
this issue
Dec 28, 2022
…retention time.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to increase the retention time for Prometheus data so I can better compare long-term data. Right now it just defaults to
15d
(15 days).For now, I'm considering just setting
--storage.tsdb.retention.time=90d
in thedocker-compose.yml
file and keeping it at that for the time being:https://github.com/geerlingguy/internet-pi/blob/master/templates/docker-compose.yml.j2#LL38
For easier configurability, for now we'd have to template the
docker-compose.yml
file and change that value when the playbook templates it. See: prometheus/prometheus#6188 and prometheus/prometheus#9115The text was updated successfully, but these errors were encountered: