Class OtlpLoggerExporterAutoConfiguration
java.lang.Object
io.opentelemetry.instrumentation.spring.autoconfigure.exporters.otlp.OtlpLoggerExporterAutoConfiguration
@AutoConfigureBefore(OpenTelemetryAutoConfiguration.class)
@EnableConfigurationProperties(OtlpExporterProperties.class)
@ConditionalOnProperty(prefix="otel.exporter.otlp",
name={"enabled","logs.enabled"},
matchIfMissing=true)
@ConditionalOnClass(io.opentelemetry.exporter.otlp.logs.OtlpGrpcLogRecordExporter.class)
public class OtlpLoggerExporterAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.exporter.otlp.logs.OtlpGrpcLogRecordExporterotelOtlpGrpcLogRecordExporter(OtlpExporterProperties properties)
-
Constructor Details
-
OtlpLoggerExporterAutoConfiguration
public OtlpLoggerExporterAutoConfiguration()
-
-
Method Details
-
otelOtlpGrpcLogRecordExporter
@Bean @ConditionalOnMissingBean public io.opentelemetry.exporter.otlp.logs.OtlpGrpcLogRecordExporter otelOtlpGrpcLogRecordExporter(OtlpExporterProperties properties)
-