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 10
10
use OpenTelemetry \API \Metrics \Noop \NoopMeterProvider ;
11
11
use OpenTelemetry \API \Trace \NoopTracerProvider ;
12
12
use OpenTelemetry \API \Trace \TracerProviderInterface ;
13
+ use OpenTelemetry \Context \Propagation \NoopTextMapPropagator ;
14
+ use OpenTelemetry \Context \Propagation \TextMapPropagatorInterface ;
13
15
14
16
/**
15
17
* Context used for component creation.
@@ -20,6 +22,7 @@ public function __construct(
20
22
public readonly TracerProviderInterface $ tracerProvider = new NoopTracerProvider (),
21
23
public readonly MeterProviderInterface $ meterProvider = new NoopMeterProvider (),
22
24
public readonly LoggerProviderInterface $ loggerProvider = new NoopLoggerProvider (),
25
+ public readonly TextMapPropagatorInterface $ propagator = new NoopTextMapPropagator (),
23
26
) {
24
27
}
25
28
}
You can’t perform that action at this time.
0 commit comments