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

feat(exporters/prometheus): add explicit option to set naming scheme

Open juliusmh opened this issue 5 months ago • 3 comments

juliusmh avatar Jun 24 '25 11:06 juliusmh

CLA Not Signed

cc @dashpole

I'm not sure this can work. NameValidationScheme is a value that the prometheus/model package uses to for its naming scheme globally. We can't configure a global config locally unless the library allows it. See https://pkg.go.dev/github.com/prometheus/common/model#pkg-variables

dmathieu avatar Jun 24 '25 11:06 dmathieu

We are probably going to switch to "translation modes" to match the Prometheus server's OTLP endpoint configuration: https://github.com/open-telemetry/opentelemetry-specification/pull/4533

dashpole avatar Jun 24 '25 12:06 dashpole