Skip to content

[exporter/sumologicexporter] Change Prometheus le label for infinity bounds #39904

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

Merged
merged 4 commits into from
May 21, 2025

Conversation

ccressent
Copy link
Contributor

Description

For histograms, whenever a bound is (positive) infinity, give the Prometheus le label a string value of "+Inf".
In all other cases, that label is set as a double value.

Testing

Unit tests.

For histograms, whenever a bound is (positive) infinity, give the
Prometheus le label a string value of "+Inf".

In all other cases, that label is set as a `double` value.
@ccressent ccressent marked this pull request as ready for review May 16, 2025 22:02
@ccressent ccressent requested a review from a team as a code owner May 16, 2025 22:02
@ccressent ccressent requested a review from codeboten May 16, 2025 22:02
@mx-psi mx-psi merged commit d5263a0 into open-telemetry:main May 21, 2025
187 of 189 checks passed
@github-actions github-actions bot added this to the next release milestone May 21, 2025
dragonlord93 pushed a commit to dragonlord93/opentelemetry-collector-contrib that referenced this pull request May 23, 2025
…bounds (open-telemetry#39904)

#### Description

For histograms, whenever a bound is (positive) infinity, give the
Prometheus `le` label a string value of "+Inf".
In all other cases, that label is set as a `double` value.

#### Testing

Unit tests.

---------

Co-authored-by: Pablo Baeyens <[email protected]>
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.

3 participants