File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Instrumentation/AutoInstrumentation Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1010use OpenTelemetry \API \Metrics \Noop \NoopMeterProvider ;
1111use OpenTelemetry \API \Trace \NoopTracerProvider ;
1212use OpenTelemetry \API \Trace \TracerProviderInterface ;
13+ use OpenTelemetry \Context \Propagation \NoopTextMapPropagator ;
14+ use OpenTelemetry \Context \Propagation \TextMapPropagatorInterface ;
1315
1416/**
1517 * Context used for component creation.
@@ -20,6 +22,7 @@ public function __construct(
2022 public readonly TracerProviderInterface $ tracerProvider = new NoopTracerProvider (),
2123 public readonly MeterProviderInterface $ meterProvider = new NoopMeterProvider (),
2224 public readonly LoggerProviderInterface $ loggerProvider = new NoopLoggerProvider (),
25+ public readonly TextMapPropagatorInterface $ propagator = new NoopTextMapPropagator (),
2326 ) {
2427 }
2528}
You can’t perform that action at this time.
0 commit comments