Repository navigation
Sliding windows for summaries - #229
Conversation
|
Thanks for this! I will try and have a look at this today! |
|
|
||
| validateInput(config.name, config.help, config.labelNames); | ||
|
|
||
| this.maxAgeSeconds = config.maxAgeSeconds || 600; |
There was a problem hiding this comment.
This is a breaking change, altering the current behaviour. Could the defaults be changed so it doesn't change the current behaviour?
There was a problem hiding this comment.
Should be able to do that but as described in the issue and by the prometheus docs a summary should be implemented with a sliding window. And we could always release this as a major bump.
There was a problem hiding this comment.
That's great but it's still a breaking change and I want to avoid them as much as possible if it's doable (which I think it is in this case)
There was a problem hiding this comment.
I get your point but I don't think it's worth a breaking change for this, however I think for the next major bump we probably should change the default to the sliding window instead.
There was a problem hiding this comment.
Alright I'll fix it :)
Resolves #205. Feedback is welcome!