Skip to content
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

[reciever/prometheusremotewritereciever] implemented histogram #38115

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

sonalgaud12
Copy link
Contributor

@sonalgaud12 sonalgaud12 commented Feb 22, 2025

Description

Added support for converting Prometheus Remote Write v2 histograms into OpenTelemetry histogram metrics.
This ensures proper handling of bucketed histogram data, including negative and positive spans, count, and sum values.

Link to tracking issue

Related to #37277

Testing

  • Verified correct conversion of histogram data points.
  • Ensured bucket boundaries and counts align with Prometheus Remote Write v2 encoding.
  • Added unit tests for histogram parsing and metric creation.

Documentation

  • Updated relevant comments in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants