gatus
gatus copied to clipboard
Increase data retention to 30 days
For the uptime badges (1h, 24h, 7d), is it possible to also support a month or 30d? Maybe even 1y?
Would love this feature
@TwiN Do you have any idea about a timeline for this improvement?
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"?
@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.
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?