Interface OTelRuntimeConfig

    • Method Detail

      • sdkDisabled

        @WithName("sdk.disabled")
        @WithDefault("false")
        boolean sdkDisabled()
        If true, disable the OpenTelemetry SDK. Runtime configuration.

        Defaults to false.

      • attribute

        AttributeConfig attribute()
        environment variables for the types of attributes, for which that SDK implements truncation mechanism.
      • resourceAttributes

        @WithName("resource.attributes")
        Optional<List<String>> resourceAttributes()
        Specify resource attributes in the following format: key1=val1,key2=val2,key3=val3.
      • serviceName

        @WithName("service.name")
        @WithDefault("${quarkus.application.name:unset}")
        Optional<String> serviceName()
        Specify logical service name. Takes precedence over service.name defined with otel.resource.attributes and from quarkus.application.name.

        Defaults to quarkus.application.name.

      • experimentalResourceDisabledKeys

        @WithName("experimental.resource.disabled-keys")
        Optional<List<String>> experimentalResourceDisabledKeys()
        Specify resource attribute keys that are filtered.
      • experimentalShutdownWaitTime

        @WithName("experimental.shutdown-wait-time")
        @WithDefault("1s")
        Duration experimentalShutdownWaitTime()
        The maximum amount of time Quarkus will wait for the OpenTelemetry SDK to flush unsent spans and shutdown.