Class OtlpExporterConfig.OtlpExporterRuntimeConfig
- java.lang.Object
-
- io.quarkus.opentelemetry.runtime.exporter.otlp.OtlpExporterConfig.OtlpExporterRuntimeConfig
-
- Enclosing class:
- OtlpExporterConfig
@ConfigRoot(name="opentelemetry.tracer.exporter.otlp", phase=RUN_TIME) public static class OtlpExporterConfig.OtlpExporterRuntimeConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<String>compressionCompression method to be used by exporter to compress the payload.Optional<String>endpointThe OTLP endpoint to connect to.DurationexportTimeoutThe maximum amount of time to wait for the collector to process exported spans before an exception is thrown.(package private) Optional<List<String>>headersKey-value pairs to be used as headers associated with gRPC requests.
-
Constructor Summary
Constructors Constructor Description OtlpExporterRuntimeConfig()
-
-
-
Field Detail
-
endpoint
@ConfigItem @ConvertWith(io.quarkus.runtime.configuration.TrimmedStringConverter.class) public Optional<String> endpoint
The OTLP endpoint to connect to. The endpoint must start with either http:// or https://.
-
headers
@ConfigItem Optional<List<String>> headers
Key-value pairs to be used as headers associated with gRPC requests. The format is similar to theOTEL_EXPORTER_OTLP_HEADERSenvironment variable, a list of key-value pairs separated by the "=" character. See Specifying headers for more details.
-
exportTimeout
@ConfigItem(defaultValue="10S") public Duration exportTimeout
The maximum amount of time to wait for the collector to process exported spans before an exception is thrown. A value of `0` will disable the timeout: the exporter will continue waiting until either exported spans are processed, or the connection fails, or is closed for some other reason.
-
compression
@ConfigItem public Optional<String> compression
Compression method to be used by exporter to compress the payload.See Configuration Options for the supported compression methods.
-
-