Skip to content

Retract most recent prometheus exporter release#7046

Merged
dashpole merged 2 commits intoopen-telemetry:mainfrom
dashpole:retract_prom
Jul 21, 2025
Merged

Retract most recent prometheus exporter release#7046
dashpole merged 2 commits intoopen-telemetry:mainfrom
dashpole:retract_prom

Conversation

@dashpole
Copy link
Copy Markdown
Contributor

Due to #7039.

@dashpole dashpole added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jul 18, 2025
@MrAlias
Copy link
Copy Markdown
Contributor

MrAlias commented Jul 18, 2025

Is the fix for the issue going to be included in the release that retracts this?

Or, are you planning to retract the release that makes this retraction as well?

@dashpole
Copy link
Copy Markdown
Contributor Author

The fix will be included in the release. Fix: #7044

@dmathieu
Copy link
Copy Markdown
Member

Should we add a changelog entry?

@MrAlias
Copy link
Copy Markdown
Contributor

MrAlias commented Jul 18, 2025

The fix will be included in the release. Fix: #7044

Will releasing this in a week or two be soon enough, or does this need to be released as a sooner patch release for this module?

@dashpole
Copy link
Copy Markdown
Contributor Author

I think the collector folks would like the fix sooner, as it is a fairly large regression for their self-observability metrics. But we might want to wait for the cardinality limit implementation to land? Or revert the new public function?

@dashpole
Copy link
Copy Markdown
Contributor Author

A patch release for the module would be amazing, actually, if we can do that

@MrAlias
Copy link
Copy Markdown
Contributor

MrAlias commented Jul 18, 2025

A patch release for the module would be amazing, actually, if we can do that

Think this is possible as this module is in its own module set:

experimental-metrics:
version: v0.59.0
modules:
- go.opentelemetry.io/otel/exporters/prometheus

@MrAlias MrAlias added this to the Experimental Metrics v0.59.1 milestone Jul 18, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.8%. Comparing base (024ebcb) to head (63017cc).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #7046     +/-   ##
=======================================
- Coverage   82.8%   82.8%   -0.1%     
=======================================
  Files        261     261             
  Lines      24361   24361             
=======================================
- Hits       20175   20171      -4     
- Misses      3811    3815      +4     
  Partials     375     375             

see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dashpole dashpole merged commit f6b5fb9 into open-telemetry:main Jul 21, 2025
33 checks passed
@dashpole dashpole deleted the retract_prom branch July 21, 2025 15:42
dashpole added a commit that referenced this pull request Jul 21, 2025
Patch release for
#7039

### Changed

- Retract `v0.59.0` release of
`go.opentelemetry.io/otel/exporters/prometheus` module which appends
incorrect unit suffixes. (#7046)
- Change `go.opentelemetry.io/otel/exporters/prometheus` to no longer
deduplicate suffixes when UTF8 is enabled.
It is recommended to disable unit and counter suffixes in the exporter,
and manually add suffixes if you rely on the existing behavior. (#7044)

### Fixed

- Fix `go.opentelemetry.io/otel/exporters/prometheus` to properly handle
unit suffixes when the unit is in brackets.
  E.g. `{spans}`. (#7044)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants