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

sumologicexporter: do not replace . with _ for prometheus format #32595

Conversation

sumo-drosiek
Copy link
Member

@sumo-drosiek sumo-drosiek commented Apr 22, 2024

Description:

Use new formatter for prometheus, which fixes metric name sanitization. This also refactors the formatter itself, which is part of #31479 and reduces size of #32315

Link to tracking Issue:

Applies SumoLogic/sumologic-otel-collector#211 and more, but this one is a bug fix

Testing:

Unit tests

Documentation:

N/A

Signed-off-by: Dominik Rosiek <[email protected]>
Signed-off-by: Dominik Rosiek <[email protected]>
@crobert-1
Copy link
Member

Failing unit test is frequency of #32391, I've added a reference there.

@mx-psi mx-psi merged commit 151dffb into open-telemetry:main Apr 23, 2024
156 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 23, 2024
rimitchell pushed a commit to rimitchell/opentelemetry-collector-contrib that referenced this pull request May 8, 2024
…pen-telemetry#32595)

**Description:**

Use new formatter for prometheus, which fixes metric name sanitization.
This also refactors the formatter itself, which is part of open-telemetry#31479 and
reduces size of open-telemetry#32315

**Link to tracking Issue:**

Applies SumoLogic/sumologic-otel-collector#211
and more, but this one is a bug fix

**Testing:**

Unit tests

**Documentation:**

N/A

---------

Signed-off-by: Dominik Rosiek <[email protected]>
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Jul 11, 2024
…pen-telemetry#32595)

**Description:**

Use new formatter for prometheus, which fixes metric name sanitization.
This also refactors the formatter itself, which is part of open-telemetry#31479 and
reduces size of open-telemetry#32315

**Link to tracking Issue:**

Applies SumoLogic/sumologic-otel-collector#211
and more, but this one is a bug fix

**Testing:**

Unit tests

**Documentation:**

N/A

---------

Signed-off-by: Dominik Rosiek <[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.

None yet

5 participants