Skip to content

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]>
dd-jasminesun pushed a commit to DataDog/opentelemetry-collector-contrib that referenced this pull request Jun 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