Interface OtlpExporterTracesConfig


  • public interface OtlpExporterTracesConfig
    • Method Detail

      • endpoint

        @WithDefault("http://localhost:4317/")
        Optional<String> endpoint()
        OTLP Exporter specific. Will override otel.exporter.otlp.endpoint, if set.

        Fallbacks to the legacy property quarkus.opentelemetry.tracer.exporter.otlp.endpoint< or defaults to "http://localhost:4317/".

      • headers

        Optional<List<String>> headers()
        Key-value pairs to be used as headers associated with gRPC requests. The format is similar to the OTEL_EXPORTER_OTLP_HEADERS environment 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 grpc and http are allowed.