Class OtlpGrpcSpanExporterProperties
- java.lang.Object
-
- io.opentelemetry.instrumentation.spring.autoconfigure.exporters.otlp.OtlpGrpcSpanExporterProperties
-
@ConfigurationProperties(prefix="opentelemetry.trace.exporter.otlp") public final class OtlpGrpcSpanExporterProperties extends Object
Configuration forOtlpGrpcSpanExporter.Get Exporter Service Name
Get Exporter Endpoint
Get max wait time for Collector to process Span Batches
-
-
Constructor Summary
Constructors Constructor Description OtlpGrpcSpanExporterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable StringgetEndpoint()@Nullable DurationgetSpanTimeout()booleanisEnabled()voidsetEnabled(boolean enabled)voidsetEndpoint(String endpoint)voidsetSpanTimeout(Duration spanTimeout)
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getEndpoint
public @Nullable String getEndpoint()
-
setEndpoint
public void setEndpoint(String endpoint)
-
getSpanTimeout
public @Nullable Duration getSpanTimeout()
-
setSpanTimeout
public void setSpanTimeout(Duration spanTimeout)
-
-