-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Optionally translate OTel histograms to NHCB #15850
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
Conversation
8cb4d0c
to
5489b67
Compare
Nice, good idea! |
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.
storage/remote/otlptranslator/prometheusremotewrite/histograms.go
Outdated
Show resolved
Hide resolved
storage/remote/otlptranslator/prometheusremotewrite/metrics_to_prw_test.go
Outdated
Show resolved
Hide resolved
Also we'll probably need a setting to limit maximum bucket count - and error out if it we go over. |
storage/remote/otlptranslator/prometheusremotewrite/histograms.go
Outdated
Show resolved
Hide resolved
46a35c2
to
e3edb69
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.
Generally LGTM, but see comments :)
storage/remote/otlptranslator/prometheusremotewrite/histograms_test.go
Outdated
Show resolved
Hide resolved
storage/remote/otlptranslator/prometheusremotewrite/metrics_to_prw_test.go
Outdated
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.
Could you add the new convert_histograms_to_nhcb
configuration parameter to docs/configuration/configuration.md? Also, should there be a FEATURE changelog entry?
A conflict needs resolving. |
ca7fbed
to
835eb94
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 doing this! LGTM, except you should fix the changelog ordering.
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
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
…hema Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
f9efbe1
to
84bdc4f
Compare
Related-to prometheus/prometheus#15850 Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
This PR adds the functionality to convert OTel explicit histograms into Custom Buckets Native Histograms via a configuration option.
Issue: #15022
Part of: #13485