Skip to content

Conversation

@songy23
Copy link
Member

@songy23 songy23 commented Aug 8, 2025

Description

Similar to open-telemetry/opentelemetry-collector-releases#1067 but for contrib
This avoids accidentally pulling in go.opentelemetry.io/otel/exporters/prometheus v0.59.x when building your distros. v0.59.x has a known bug in metric names. See open-telemetry/opentelemetry-collector#13466.

Link to tracking issue

open-telemetry/opentelemetry-collector#13544

Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not be useful outside of this repository, since replace statements in a go.mod A are ignored by the go.mod of other modules that require A. Is this still useful?

@songy23
Copy link
Member Author

songy23 commented Aug 8, 2025

Good point @mx-psi I re-purposed this PR to manually downgrade go.opentelemetry.io/otel/exporters/prometheus to v0.58.0 in all mods.

Ideally we should have something like open-telemetry/opentelemetry-collector#13519 in contrib to prevent it being accidentally bumped to v0.59 again. cc @iblancasa

@songy23 songy23 changed the title Pins go.opentelemetry.io/otel/exporters/prometheus to v0.58.0 Downgrade go.opentelemetry.io/otel/exporters/prometheus to v0.58.0 Aug 8, 2025
@songy23 songy23 merged commit e79d099 into open-telemetry:main Aug 8, 2025
185 checks passed
@songy23 songy23 deleted the prometheus-go-exp branch August 8, 2025 20:13
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.

6 participants