Interface TracesBuildConfig
-
public interface TracesBuildConfigTracing build time configuration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Optional<Boolean>enabled()Deprecated.EndUserSpanProcessorConfigeusp()EndUser SpanProcessor configurations.List<String>exporter()List of exporters supported by Quarkus.Stringsampler()The sampler to use for tracing.
-
-
-
Method Detail
-
enabled
@Deprecated @WithDefault("true") Optional<Boolean> enabled()
Deprecated.Enable tracing with OpenTelemetry.This property is not available in the Open Telemetry SDK. It's Quarkus specific.
Support for tracing will be enabled if OpenTelemetry support is enabled and either this value is true, or this value is unset.
-
exporter
@WithDefault("cdi") List<String> exporter()List of exporters supported by Quarkus.List of exporters to be used for tracing, separated by commas. Has one of the values on
ExporterType`otlp`, `cdi`, `none` or the full qualified name of a class implementingSpanExporterDefault on Quarkus is "cdi".
-
sampler
@WithDefault("parentbased_always_on") String sampler()The sampler to use for tracing.Has one of the values on
SamplerType`always_on`, `always_off`, `traceidratio`, `parentbased_always_on`, `parentbased_always_off`, `parentbased_traceidratio` or the Sampler SPI name. This will use the OTel SPI hooks for theSamplerimplementation set in the provider:ConfigurableSamplerProvider.Fallbacks to the legacy property
quarkus.opentelemetry.tracer.sampler.sampler.nameor defaults to "parentbased_always_on".
-
eusp
EndUserSpanProcessorConfig eusp()
EndUser SpanProcessor configurations.
-
-