Class OtlpLogRecordExporterAutoConfiguration

java.lang.Object
io.opentelemetry.instrumentation.spring.autoconfigure.exporters.otlp.OtlpLogRecordExporterAutoConfiguration

@AutoConfigureBefore(OpenTelemetryAutoConfiguration.class) @Conditional(io.opentelemetry.instrumentation.spring.autoconfigure.exporters.otlp.OtlpLogRecordExporterAutoConfiguration.CustomCondition.class) @ConditionalOnClass(io.opentelemetry.exporter.otlp.logs.OtlpGrpcLogRecordExporter.class) public class OtlpLogRecordExporterAutoConfiguration extends Object
  • Constructor Details

    • OtlpLogRecordExporterAutoConfiguration

      public OtlpLogRecordExporterAutoConfiguration()
  • Method Details

    • otelOtlpLogRecordExporter

      @Bean(destroyMethod="") @ConditionalOnMissingBean({io.opentelemetry.exporter.otlp.logs.OtlpGrpcLogRecordExporter.class,io.opentelemetry.exporter.otlp.http.logs.OtlpHttpLogRecordExporter.class}) public io.opentelemetry.sdk.logs.export.LogRecordExporter otelOtlpLogRecordExporter(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties configProperties)