-
Notifications
You must be signed in to change notification settings - Fork 154
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
Configurable sliding window #122
Conversation
Tests went OK on my local machine. I assume it is kind of floating bug. |
config/v3/configV3.go
Outdated
@@ -211,6 +213,10 @@ func applyImportDefaults(metricConfig *MetricConfig, defaults DefaultConfig) { | |||
if metricConfig.Type == "summary" && len(metricConfig.Quantiles) == 0 { | |||
metricConfig.Quantiles = defaults.Quantiles | |||
} | |||
if metricConfig.Type == "summary" && metricConfig.MaxAge == 0 { | |||
fmt.Print("set max age default") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, sorry, didn't notice that one.
Removed now.
Looking good, thanks a lot. There's a BTW the Windows test on AppVeyor failed because in one of the file tailer tests a goroutine did not shut down properly. This has been flaky for a long time and has nothing to do with your PR. I'd love to know how to fix this though. |
Thanks a lot! |
Resolve issue with configurable sliding window for summaries.