-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Add ability to process metrics in schema processor #38628
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
Add ability to process metrics in schema processor #38628
Conversation
MovieStoreGuy
left a comment
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.
Only a minor nit, but I am happy with the progress so far.
| "go.opentelemetry.io/collector/pdata/pmetric" | ||
| ) | ||
|
|
||
| func TestMetrics_RenameAttributes(t *testing.T) { |
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.
From memory, there is a test function that allows you to define this information in a yaml form and compare against an expected yaml file for pdata values.
I suspect this might be more useful here since manually validating each is going to be time consuming.
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.
I have updated tests to use yaml. Can you please take a look.
…ema-processor-add-functioality-metrics
…ema-processor-add-functioality-metrics
…ema-processor-add-functioality-metrics
|
Please add more tests to cover the error paths. |
…ema-processor-add-functioality-metrics
…ema-processor-add-functioality-metrics
) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Add ability to process metrics in schema processor <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Please delete paragraphs that you did not use before submitting.-->
Description
Add ability to process metrics in schema processor
Link to tracking issue
Fixes
Testing
Documentation