opentelemetry-specification icon indicating copy to clipboard operation
opentelemetry-specification copied to clipboard

Prometheus translation modes and content negotiation

Open ArthurSens opened this issue 6 months ago • 4 comments

Related to https://github.com/open-telemetry/opentelemetry-specification/issues/4494

Changes

This change focuses on three things:

  • Flexibilization of underscore scaping
  • Flexibilization of unit and type suffix additions
  • Add content negotiation

The goal is to mimic Prometheus' existing configuration that controls the translation of metric names when receiving OTLP metrics via its /otlp endpoint. Configuration alignment will help users migrate in both directions (Prometheus/Collector) when switching their metrics collection systems.

Additional Information

Some further reading might be helpful for reviewers:


  • [X] Related issues https://github.com/open-telemetry/opentelemetry-specification/issues/4494
  • [ ] Links to the prototypes (when adding or changing features)
  • [ ] CHANGELOG.md file updated for non-trivial changes
  • [ ] spec-compliance-matrix.md updated if necessary

ArthurSens avatar Jun 02 '25 21:06 ArthurSens

Folks, I'm out until June 25th. @ywwg is picking this up while I'm gone :)

I've removed the draft mode to help Owen with his notification settings

ArthurSens avatar Jun 11 '25 13:06 ArthurSens

This PR was marked stale due to lack of activity. It will be closed in 7 days.

github-actions[bot] avatar Jun 19 '25 03:06 github-actions[bot]

not stale

ywwg avatar Jun 20 '25 14:06 ywwg

(it won't let me remove the stale label)

ywwg avatar Jun 20 '25 14:06 ywwg

The CI failure seems unrelated. Could someone re-trigger it? 😇

ArthurSens avatar Jul 02 '25 17:07 ArthurSens

@ArthurSens could you update the changelog?

reyang avatar Jul 10 '25 15:07 reyang

I think this is ready to be merged

dashpole avatar Jul 17 '25 20:07 dashpole