Class OtlpExporterProperties
java.lang.Object
io.opentelemetry.instrumentation.spring.autoconfigure.exporters.otlp.OtlpExporterProperties
@ConfigurationProperties(prefix="otel.exporter.otlp")
public final class OtlpExporterProperties
extends Object
Configuration for
OtlpGrpcSpanExporter and OtlpGrpcMetricExporter.
Get Exporter Service Name
Get Exporter Endpoint
Get max wait time for Collector to process Span Batches
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetEnabled(boolean enabled) voidsetEndpoint(String endpoint) voidsetTimeout(Duration timeout)
-
Constructor Details
-
OtlpExporterProperties
public OtlpExporterProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getEndpoint
-
setEndpoint
-
getTimeout
-
setTimeout
-
getTraces
-
getMetrics
-