-
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/attributesprocessor] Add metric support #8111
[processor/attributesprocessor] Add metric support #8111
Conversation
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.
Fine work -- just a few questions.
This change adds metric support to the attributes processor. Metric data point attributes can now be modified in all of the same ways as spans and logs. This change also adds testing that is all passing.
a7f5b89
to
cfb95a7
Compare
c64a217
to
230455f
Compare
- Remove out-dated comments - Change all span/log/metric references to "input data" - Add comments about usage of attributes processor vs. metric transform processor.
230455f
to
1460223
Compare
- Add logging when skipping metrics - Add links to different processors
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
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.
@pmm-sumo @pmcollins @tigrannajaryan please take a look and approve if your comments have been addressed
Description:
This change adds metric support to the attributes processor. Metric data point attributes can now be modified in all of the same ways as spans and logs.
Link to tracking Issue:
Testing:
Included unit tests, also did manual testing. Manual tests show that insert, delete and extract were all working as expected.
Documentation:
README was updated, as well as extra comments in shared attributes processor code.