Class OtlpGrpcSpanExporterProperties

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

@ConfigurationProperties(prefix="otel.exporter.otlp") public final class OtlpGrpcSpanExporterProperties extends Object
Configuration for OtlpGrpcSpanExporter.

Get Exporter Service Name

Get Exporter Endpoint

Get max wait time for Collector to process Span Batches

  • Constructor Details

    • OtlpGrpcSpanExporterProperties

      public OtlpGrpcSpanExporterProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getEndpoint

      @Nullable public String getEndpoint()
    • setEndpoint

      public void setEndpoint(String endpoint)
    • getTimeout

      @Nullable public Duration getTimeout()
    • setTimeout

      public void setTimeout(Duration timeout)