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 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 DurationgetTimeout()booleanisEnabled()voidsetEnabled(boolean enabled)voidsetEndpoint(String endpoint)voidsetTimeout(Duration timeout)
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getEndpoint
public @Nullable String getEndpoint()
-
setEndpoint
public void setEndpoint(String endpoint)
-
getTimeout
public @Nullable Duration getTimeout()
-
setTimeout
public void setTimeout(Duration timeout)
-
-