@Factory
public class DefaultOpenTelemetryFactory
extends java.lang.Object
| Constructor and Description | 
|---|
| DefaultOpenTelemetryFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected io.opentelemetry.api.OpenTelemetry | defaultOpenTelemetry(io.micronaut.runtime.ApplicationConfiguration applicationConfiguration,
                    java.util.Map<java.lang.String,java.lang.String> otelConfig,
                    io.opentelemetry.sdk.trace.IdGenerator idGenerator,
                    io.opentelemetry.sdk.trace.SpanProcessor spanProcessor,
                    ResourceProvider resourceProvider)The OpenTelemetry bean with default values. | 
@Singleton
protected io.opentelemetry.api.OpenTelemetry defaultOpenTelemetry(io.micronaut.runtime.ApplicationConfiguration applicationConfiguration,
                                                                             @Property(name="otel") @MapFormat(transformation=FLAT)
                                                                             java.util.Map<java.lang.String,java.lang.String> otelConfig,
                                                                             @Nullable
                                                                             io.opentelemetry.sdk.trace.IdGenerator idGenerator,
                                                                             @Nullable
                                                                             io.opentelemetry.sdk.trace.SpanProcessor spanProcessor,
                                                                             @Nullable
                                                                             ResourceProvider resourceProvider)
applicationConfiguration - the ApplicationConfigurationotelConfig - the configuration values for the opentelemetry autoconfigureidGenerator - the IdGeneratorspanProcessor - the SpanProcessorresourceProvider - Resource Provider