File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313 "open-telemetry/context" : " ^1" ,
1414 "open-telemetry/exporter-otlp" : " ^1" ,
1515 "open-telemetry/exporter-zipkin" : " ^1" ,
16- "open-telemetry/sem-conv" : " ^1.23 " ,
16+ "open-telemetry/sem-conv" : " ^1.30 " ,
1717 "php-http/discovery" : " ^1.14" ,
1818 "php-http/message" : " ^1.12"
1919 },
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public function __construct(
2828 $ this ->tracer = $ tracerProvider ->getTracer (
2929 OtelBundle::instrumentationName (),
3030 OtelBundle::instrumentationVersion (),
31- TraceAttributes:: SCHEMA_URL ,
31+ ' https://opentelemetry.io/schemas/1.30.0 ' ,
3232 );
3333 }
3434
@@ -60,7 +60,7 @@ public function startCommand(ConsoleCommandEvent $event): void
6060
6161 $ span = $ this ->tracer
6262 ->spanBuilder ($ name ?? 'command ' )
63- ->setAttribute (TraceAttributes::CODE_FUNCTION , 'run ' )
63+ ->setAttribute (TraceAttributes::CODE_FUNCTION_NAME , 'run ' )
6464 ->setAttribute (TraceAttributes::CODE_NAMESPACE , $ class )
6565 ->startSpan ();
6666
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public function __construct(
5757 $ this ->tracer = $ tracerProvider ->getTracer (
5858 OtelBundle::instrumentationName (),
5959 OtelBundle::instrumentationVersion (),
60- TraceAttributes:: SCHEMA_URL ,
60+ ' https://opentelemetry.io/schemas/1.30.0 ' ,
6161 );
6262 $ this ->propagator = $ propagator ;
6363 $ this ->propagationGetter = new HeadersPropagator ();
You can’t perform that action at this time.
0 commit comments