Skip to content

feat: add metric name translation strategy support for the Prometheus exporter#5118

Open
herin049 wants to merge 8 commits into
open-telemetry:mainfrom
herin049:feat/prometheus-translation-strategy
Open

feat: add metric name translation strategy support for the Prometheus exporter#5118
herin049 wants to merge 8 commits into
open-telemetry:mainfrom
herin049:feat/prometheus-translation-strategy

Conversation

@herin049

@herin049 herin049 commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

Description

Add support for specifying a name translation strategy for the Prometheus exporter as documented in: opentelemetry-specification

Fixes #5111
Depends on: #5123

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

uv run tox -e py314-test-opentelemetry-exporter-prometheus

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@herin049 herin049 requested a review from a team as a code owner April 17, 2026 03:32
@herin049 herin049 moved this to Ready for review in Python PR digest Apr 17, 2026
@herin049 herin049 added the Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary label Apr 17, 2026

@MikeGoldsmith MikeGoldsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great, thanks @herin049 🎉

@tammy-baylis-swi tammy-baylis-swi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@herin049 herin049 force-pushed the feat/prometheus-translation-strategy branch from 79162b3 to ca66756 Compare April 29, 2026 21:20
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 days of this comment.
If you're still working on this, please add a comment or push new commits.

@github-actions github-actions Bot added the Stale label Jun 3, 2026
@herin049 herin049 removed the Stale label Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary exporters

Projects

Status: Approved PRs

Development

Successfully merging this pull request may close these issues.

Stabilize Prometheus Exporter: Translation Strategy

3 participants