-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add exemplars for native histograms #1686
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 exemplars for native histograms #1686
Conversation
Remove unused variable fix tests Signed-off-by: Shivanth <[email protected]>
7569bb1
to
6a6a456
Compare
Signed-off-by: Shivanth <[email protected]>
@ArthurSens @beorn7 Part-2 for constnativehistogram support |
Do you mind checking @beorn7 @ArthurSens ? I don't have context on this logic, not sure if this PR is what #1654 (comment) wanted. |
This has been on my review list for a while. It's just hard to catch up through all my backlog… 😮💨 |
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 think this implements the intended idea. Thank you very much. However, I think we should also be able to handle a histogram with both native and classic buckets (even though we have no MustNewConst...
constructor for it, but people could create it on their own using dto
primitives). And we need to test that. See comments.
Co-authored-by: Björn Rabenstein <[email protected]> Signed-off-by: Shivanth MP <[email protected]>
Co-authored-by: Björn Rabenstein <[email protected]> Signed-off-by: Shivanth MP <[email protected]>
Update: This PR is still being worked on. Not stale. |
@shivanthzen let us know when it is ready for the next round of review. |
Signed-off-by: Shivanth <[email protected]>
Signed-off-by: Shivanth <[email protected]>
951bff7
to
7f9f76d
Compare
Signed-off-by: Shivanth <[email protected]>
@beorn7 Added a test to cover the case where exemplars are added to both buckets and exemplars. |
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. I have just a naming nit and also just discovered that we need one small actual code change after all.
Signed-off-by: Shivanth <[email protected]>
Signed-off-by: Shivanth <[email protected]>
Signed-off-by: Shivanth <[email protected]>
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.
Sorry for the review delay.
A small improvement, see comment.
Co-authored-by: Björn Rabenstein <[email protected]> Signed-off-by: Shivanth MP <[email protected]>
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.
Could you also resolve the merge conflicts? Sorry, there are no merge conflicts. I misread the new GH UI. If you don't mind, you could still rebase to make sure everything still works with the current state in main.
Signed-off-by: Shivanth <[email protected]>
Signed-off-by: Shivanth <[email protected]>
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.
Looks good now. Thank you.
Support exemplars in native histograms:
#1617