-
Notifications
You must be signed in to change notification settings - Fork 490
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
[Q] Does aggregation-rule works with tagged metrics? #887
Comments
So looks like it's not supported, from the function 'build_regex' the above pattern will build to: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello, I have some tagged series and I'd like to aggregate them. |
Unfortunately, as @whispererli found, currently it's not supported. |
Are you planning to implement this ? I think it would be verry usefull, as tagged series are verry powerfull. But if we can't agregate them, we will run into some limitations... |
I'm suspecting that would be quite non-trivial task, unfortunately. Worth to try, of course, but not sure that I can do that. |
Hello all,
I got a question regarding how to apply aggregation rules to tagged metrics.
My test metrics are looking like:
request_count;app=test;api=test1;status_code=400
and my aggregation rule is:
request_count;app=<env>;api=<api>;status_code=<status_code> (60) = sum request_count;app=<\<env>>;api=<\<api>>;status_code=<\<status_code>>
When inject the metrics to carbon-aggregator I got follow errors:
27/03/2020 17:09:37 :: [console] Couldn't match metric request_count;app=test;api=test1;status_code=400 with any aggregation rule. Passing on un-aggregated. 27/03/2020 17:09:37 :: [console] Couldn't match metric request_count;app=test;api=test1;status_code=200 with any aggregation rule. Passing on un-aggregated. 27/03/2020 17:09:37 :: [console] Couldn't match metric request_count;app=test;api=test3;status_code=200 with any aggregation rule. Passing on un-aggregated.
Changed aggregation rule to
request_count (60) = sum request_count
also not works.Can't find an example about how to set aggregation rule with tagged metrics. Is there a way to do that? Thanks very much!
The text was updated successfully, but these errors were encountered: