-
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/transform] Add functionality to break up a summary metric into Sum metrics. #11041
[processor/transform] Add functionality to break up a summary metric into Sum metrics. #11041
Conversation
560f5a5
to
0ac6815
Compare
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 for tackling this. Please add some integration tests to internal/metrics/processor_test.go
for the 2 new functions.
processor/transformprocessor/internal/metrics/func_convert_summary_count_val_to_sum.go
Show resolved
Hide resolved
processor/transformprocessor/internal/metrics/func_convert_summary_count_val_to_sum.go
Show resolved
Hide resolved
processor/transformprocessor/internal/metrics/func_convert_summary_count_val_to_sum.go
Show resolved
Hide resolved
processor/transformprocessor/internal/metrics/func_convert_summary_count_val_to_sum_test.go
Outdated
Show resolved
Hide resolved
processor/transformprocessor/internal/metrics/func_convert_summary_count_val_to_sum_test.go
Outdated
Show resolved
Hide resolved
processor/transformprocessor/internal/metrics/func_convert_summary_count_val_to_sum_test.go
Show resolved
Hide resolved
processor/transformprocessor/internal/metrics/func_convert_summary_sum_val_to_sum_test.go
Outdated
Show resolved
Hide resolved
processor/transformprocessor/internal/metrics/func_convert_summary_count_val_to_sum.go
Show resolved
Hide resolved
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.
nit
/cc @anuraaga |
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!
@TylerHelmuth thanks for Reviewing! Can this merge or are we waiting on another review? |
We like to get at least 2 approvals for most things. @anuraaga @open-telemetry/collector-contrib-approvers please review. |
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.
LGTM
Description:
Resolves #10824
Testing:
Added tests for new functions. Tested processor against a real vault instance as well using the prometheus receiver.
Documentation:
Added To README describing the new functions.