-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[processor/cumulativetodelta] Add metric type filter #34407
base: main
Are you sure you want to change the base?
[processor/cumulativetodelta] Add metric type filter #34407
Conversation
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Hi @TylerHelmuth, can we review this PR so it will unlock a new feature for the processor |
Thank you for the review @TylerHelmuth - I will address the comments in the following days |
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
res[pmetric.MetricTypeSum] = true | ||
case strings.ToLower(pmetric.MetricTypeHistogram.String()): | ||
res[pmetric.MetricTypeHistogram] = true | ||
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.
If there are metric types we don't support we should error.
Description: Add metric type filter for cumulativetodelta processor
Link to tracking Issue: #33673
Testing: Added unit tests
Documentation: Extended the readme of this component to describe this new filter