mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-26 03:52:03 +02:00
Use semconv.SchemaURL in STDOUT exporter example (#2134)
This commit is contained in:
parent
ef03dbc9f9
commit
2501e0fd4f
@ -35,7 +35,7 @@ var (
|
||||
tracer = otel.GetTracerProvider().Tracer(
|
||||
instrumentationName,
|
||||
trace.WithInstrumentationVersion(instrumentationVersion),
|
||||
trace.WithSchemaURL("https://opentelemetry.io/schemas/1.2.0"),
|
||||
trace.WithSchemaURL(semconv.SchemaURL),
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user