1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-11-23 22:34:47 +02:00

Identify global Tracers and Meters with their schema URLs (#5426)

Fix #5403
This commit is contained in:
Tyler Yahn
2024-05-30 07:20:05 -07:00
committed by GitHub
parent 982e96dd9b
commit 525fedbb26
5 changed files with 77 additions and 4 deletions

View File

@@ -65,6 +65,7 @@ func (p *meterProvider) Meter(name string, opts ...metric.MeterOption) metric.Me
key := il{
name: name,
version: c.InstrumentationVersion(),
schema: c.SchemaURL(),
}
if p.meters == nil {