Repository navigation
Conversation
d8526bf to
f8b52f2
Compare
Pull request dashboard statusWaiting on maintainers · refreshed 2026-12-01 16:19 UTC Merge when ready. Status above doesn't look right?
|
|
Maybe I'm missing something obvious here, but why do we need I'm assuming we can just do the following:
This approach should naturally still handle the two requirements:
|
f8b52f2 to
a2f6b59
Compare
|
|
/dashboard route:reviewers |
|
@dashpole, this pull request was routed to reviewers. The handoff remains active across pushes until newer actionable human feedback arrives. Top-level feedback through this request will not return; unresolved review threads remain open. |
Ok, I see now, sorry I missed this. |
0eac65d to
13d05c9
Compare
13d05c9 to
3f11c03
Compare
3f11c03 to
6ef50b4
Compare
Description
Implements the OpenTelemetry Prometheus Metric Metadata conflict specification in
opentelemetry-exporter-prometheus:_resolve_prometheus_name) and accumulate data points across all instruments/scopes and queuedMetricsDatapayloads in_PendingMetricFamilybefore building eachprometheus_clientmetric family once per scrape with unified sorted label keys (""backfilled for missing labels).TYPEs (e.g.counterfoovsgaugefoo_total, orgaugevshistogram).HELP(description) andUNIT(unit) metadata, log a warning, and keep all data points when two metrics resolve to the same Prometheus metric name with conflicting descriptions or units.Fixes #3072
Type of change
How Has This Been Tested?
pytest exporter/opentelemetry-exporter-prometheus/tests(added unit tests for multi-scope/label-set grouping,HELPconflicts,UNITconflicts,TYPEconflicts acrosscounter/gaugeandgauge/histogram, and multiple queuedMetricsDataitems in a single scrape)ruff check/ruff format --check/pylintDoes This PR Require a Core Repo Change?