Class LoggingMetricExporterAutoConfiguration
java.lang.Object
io.opentelemetry.instrumentation.spring.autoconfigure.exporters.logging.LoggingMetricExporterAutoConfiguration
@Configuration
@EnableConfigurationProperties(LoggingExporterProperties.class)
@AutoConfigureBefore(OpenTelemetryAutoConfiguration.class)
@ConditionalOnProperty(prefix="otel.exporter.logging",
name={"enabled","metrics.enabled"},
matchIfMissing=true)
@ConditionalOnClass(io.opentelemetry.exporter.logging.LoggingMetricExporter.class)
public class LoggingMetricExporterAutoConfiguration
extends Object
Configures
LoggingSpanExporter bean for tracing.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.exporter.logging.LoggingMetricExporter
-
Constructor Details
-
LoggingMetricExporterAutoConfiguration
public LoggingMetricExporterAutoConfiguration()
-
-
Method Details
-
otelLoggingMetricExporter
@Bean @ConditionalOnMissingBean public io.opentelemetry.exporter.logging.LoggingMetricExporter otelLoggingMetricExporter()
-