-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[receiver/prometheusremotewritereceiver] Add MetricIdentity struct with xxhash-based hash method #38795
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
[receiver/prometheusremotewritereceiver] Add MetricIdentity struct with xxhash-based hash method #38795
Conversation
1686df6 to
5e6ac5b
Compare
perebaj
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.
Thanks for the effort!
|
Please address review and mark the PR as ready for review afterwards. And thank you for this contribution! |
5e6ac5b to
0e5e318
Compare
|
hey @perebaj made the changes you suggested kindly review :) |
ArthurSens
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.
Thank you, pretty close to done!
…h-based Hash method. Creates MetricIdentity struct for uniquely identifying metrics and adds a deterministic Hash method using xxhash with proper field separation. partly fixes open-telemetry#37277.
0e5e318 to
23429c3
Compare
|
@ArthurSens made the change thanks for reviewing :) |
ArthurSens
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.
LGTM, could you switch from draft mode?
|
done :) |
…th xxhash-based hash method (open-telemetry#38795) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Creates MetricIdentity struct for uniquely identifying metrics and adds a deterministic Hash method using xxhash with proper field separation. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue partly fixes open-telemetry#37277. <!--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
Creates MetricIdentity struct for uniquely identifying metrics and adds a deterministic Hash method using xxhash with proper field separation.
Link to tracking issue
partly fixes #37277.
Testing
Documentation