Class LoggingMetricExporterAutoConfiguration
java.lang.Object
io.opentelemetry.instrumentation.spring.autoconfigure.exporters.logging.LoggingMetricExporterAutoConfiguration
@Configuration
@EnableConfigurationProperties(LoggingExporterProperties.class)
@AutoConfigureBefore(OpenTelemetryAutoConfiguration.class)
@Conditional(io.opentelemetry.instrumentation.spring.autoconfigure.exporters.logging.LoggingMetricExporterAutoConfiguration.AnyPropertyEnabled.class)
@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 public io.opentelemetry.exporter.logging.LoggingMetricExporter otelLoggingMetricExporter()
-