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

Increase data retention to 30 days #128

Open
mdraijer opened this issue Jul 7, 2021 · 7 comments
Open

Increase data retention to 30 days #128

mdraijer opened this issue Jul 7, 2021 · 7 comments
Labels
feature New feature or request

Comments

@mdraijer
Copy link

mdraijer commented Jul 7, 2021

For the uptime badges (1h, 24h, 7d), is it possible to also support a month or 30d? Maybe even 1y?

@sahil87
Copy link

sahil87 commented Oct 21, 2021

Would love this feature

@TwiN TwiN changed the title Uptime badges for 1 month Increase data retention to 30 days Nov 20, 2021
This was referenced Nov 20, 2021
@TwiN TwiN added the feature New feature or request label Nov 20, 2021
@TwiN TwiN closed this as completed Feb 3, 2022
@TwiN TwiN reopened this Feb 3, 2022
@mdraijer
Copy link
Author

mdraijer commented Feb 15, 2022

@TwiN Do you have any idea about a timeline for this improvement?

@mdraijer
Copy link
Author

By the way, @TwiN regarding your change of the title of this issue: I see that sometimes the data is retained for at least 30 days, sometimes a lot longer. But in some cases a lot shorter. Probably depending on the 'MaximumNumberOfResults' and 'MaximumNumberOfEvents'? (couldn't find that in the documentation, didn't search the code yet)

So I assume that you meant to say "guarantee retention to 30 days; may be a lot longer if few events happen"?

@TwiN
Copy link
Owner

TwiN commented Feb 19, 2022

@mdraijer yeah since people can set their own interval, and these interval can be extremely short (1ms), it'd be a bad idea to save for the past 30 days. What I'll do instead is make MaximumNumberOfResults configurable.

@mdraijer
Copy link
Author

Agreed, would be sufficient and a neat solution to have that value configurable.
Would that also make it possible to get badges for 30 days / 1 month?

117503445 added a commit to 117503445/gatus that referenced this issue Nov 20, 2022
Signed-off-by: 117503445 <t117503445@gmail.com>
117503445 added a commit to 117503445/gatus that referenced this issue Nov 20, 2022
Signed-off-by: 117503445 <t117503445@gmail.com>
117503445 added a commit to 117503445/gatus that referenced this issue Nov 30, 2022
Signed-off-by: 117503445 <t117503445@gmail.com>
117503445 added a commit to 117503445/gatus that referenced this issue Dec 10, 2022
Signed-off-by: 117503445 <t117503445@gmail.com>
@PurseChicken
Copy link

PurseChicken commented May 24, 2024

Bringing this back from the dead.

I would like to mention that this would be extremely desired from our team as well. It would be great to get 30d, 60d, 90d and 180d intervals.

@xeruf
Copy link

xeruf commented Jun 10, 2024

Yes, would love as well - we had a longer outage and an extended interval could have helped us to trace back the issue more swiftly!

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

No branches or pull requests

5 participants