OTEL_CONFIG |
Default value : new InjectionToken<OpenTelemetryConfig>('opentelemetry.config')
|
OTEL_CONFIG : Config injection |
OTEL_CUSTOM_SPAN |
Default value : new InjectionToken<CustomSpan>('otelcol.custom-span')
|
custom span |
OTEL_INSTRUMENTATION_PLUGINS |
Default value : new InjectionToken<Instrumentation[]>('otelcol.instrumentation.plugins')
|
OTEL_LOGGER |
Default value : new InjectionToken<DiagLogger>('otelcol.logger')
|
Logger : injection for a logger compatible |
instruServiceLoader |
Default value : (instrumentationService: InstrumentationService) => {
const loader = () => instrumentationService.initInstrumentation();
return loader;
}
|
OTEL_EXPORTER |
Default value : new InjectionToken<IExporter>('otelcol.exporter')
|
injection for a Exporter |
OTEL_PROPAGATOR |
Default value : new InjectionToken<IPropagator>('otelcol.propagator')
|
injection for a propagator |