Skip to content
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

metrics: increase prometheus data retention #77

Closed
cirocosta opened this issue Nov 25, 2019 · 1 comment
Closed

metrics: increase prometheus data retention #77

cirocosta opened this issue Nov 25, 2019 · 1 comment

Comments

@cirocosta
Copy link
Member

By default, the prometheus Chart configures a retention policy that's limited to
15 days.

## Prometheus data retention period (default if not specified is 15 days)
##
retention: "15d"

(https://github.com/helm/charts/blob/67ed74b614bb5f4e068017101a8673c63459f383/stable/prometheus/values.yaml#L841-L843)

(the change would be somewhere here:

)

While that's been in our favor when it comes to having to have a very small disk
(30GB), the price of not having the data for longer than just 15d turns out to
be bigger (when, for instance, comparing how Concourse performed over a longer
period of time).

I'm not entirely sure of what a good number for this is, but, with the
intention of shipping Concourse on a 3-week basis, it seems reasonable to me to
have at least 6 weeks of retention (so that we have the data for the entire
period between a deploy and another.

Thanks!

@cirocosta
Copy link
Member Author

#101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant