-
Notifications
You must be signed in to change notification settings - Fork 107
Conversation
https://graphite.readthedocs.io/en/latest/functions.html#graphite.render.functions.summarize doesn't mention |
Supported functions in graphite are defined here: https://github.com/graphite-project/graphite-web/blob/master/webapp/graphite/render/functions.py#L261-L281 |
I think adding support for |
Keeping But it looks like it could never be used, assuming everything was calling |
hmm this is based on what you saw in consolidation.FromConsolidateBy() ?
yes we validate before invoking the function using IsConsolFunc which calls consolidation.Validate which doesn't allow cnt |
currently, in metrictank, for every caller of to improve our interop with graphite (e.g. queries that work on just MT should still work when switching to graphite), let's remove the allowance for cnt consolidation.FromConsolidateBy() which we now is never used anyway. I am open to allowing |
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.
thanks Sean!
User reported crashes while trying to use "count" function with
summarize
. Seems like it was just a misalignment with the validation and accessor. Added some tests to summarize to make sure no other supported functions have issues.Fixes #1134