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

Prometheus container keep only 15 days datas #2723

Closed
ouraios opened this Issue May 16, 2017 · 7 comments

Comments

Projects
None yet
2 participants
@ouraios
Copy link

ouraios commented May 16, 2017

Hello,

I have a problem with prometheus using docker.

It seems like prometheus keep only the last 15days of datas, but i havnt specified option to force it to keep only the last 15 days of data, how that's possible ??

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented May 16, 2017

That is the default. You can change it by adapting the -storage.local.retention flag.

@fabxc fabxc closed this May 16, 2017

@ouraios

This comment has been minimized.

Copy link
Author

ouraios commented May 16, 2017

What are the differents values i can use ?

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented May 16, 2017

@ouraios

This comment has been minimized.

Copy link
Author

ouraios commented May 16, 2017

and mon with 6m for example ?

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented May 16, 2017

@ouraios

This comment has been minimized.

Copy link
Author

ouraios commented May 16, 2017

Oh okay thanks, i think it does not appear clearly in the doc, maybe specifiying it more could be a nice improvement 😃
Thanks for your help ! 👍

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.