Interface OtlpExporterTracesConfig
-
public interface OtlpExporterTracesConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceOtlpExporterTracesConfig.KeyCertstatic classOtlpExporterTracesConfig.Protocolstatic interfaceOtlpExporterTracesConfig.TrustCert
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Optional<CompressionType>compression()Sets the method used to compress payloads.Optional<String>endpoint()OTLP Exporter specific.Optional<List<String>>headers()Key-value pairs to be used as headers associated with gRPC requests.OtlpExporterTracesConfig.KeyCertkeyCert()Key/cert configuration in the PEM format.Optional<String>legacyEndpoint()Deprecated.Optional<String>protocol()OTLP defines the encoding of telemetry data and the protocol used to exchange data between the client and the server.Durationtimeout()Sets the maximum time to wait for the collector to process an exported batch of spans.OtlpExporterTracesConfig.TrustCerttrustCert()Trust configuration in the PEM format.
-
-
-
Method Detail
-
endpoint
@WithDefault("http://localhost:4317/") Optional<String> endpoint()OTLP Exporter specific. Will overrideotel.exporter.otlp.endpoint, if set.Fallbacks to the legacy property
quarkus.opentelemetry.tracer.exporter.otlp.endpoint<or defaults to "http://localhost:4317/".
-
legacyEndpoint
@Deprecated @WithName("legacy-endpoint") @WithDefault("http://localhost:4317/") Optional<String> legacyEndpoint()
Deprecated.Seeendpoint()
-
headers
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. i.e.: key1=value1,key2=value2
-
compression
Optional<CompressionType> compression()
Sets the method used to compress payloads. If unset, compression is disabled. Currently supported compression methods include `gzip` and `none`.
-
timeout
@WithDefault("10s") Duration timeout()Sets the maximum time to wait for the collector to process an exported batch of spans. If unset, defaults to "10"s.
-
protocol
@WithDefault("grpc") Optional<String> protocol()OTLP defines the encoding of telemetry data and the protocol used to exchange data between the client and the server. Depending on the exporter, the available protocols will be different.Currently, only
grpcandhttpare allowed.
-
keyCert
@WithName("key-cert") OtlpExporterTracesConfig.KeyCert keyCert()Key/cert configuration in the PEM format.
-
trustCert
@WithName("trust-cert") OtlpExporterTracesConfig.TrustCert trustCert()Trust configuration in the PEM format.
-
-