Class AdapterTelemetryConfiguration


  • public class AdapterTelemetryConfiguration
    extends Object
    This class represents the telemetry configuration for the adapter, which is determined based on the request properties.
    • Field Detail

      • TELEMETRY_PROPERTY

        public static final String TELEMETRY_PROPERTY
        Name of the adapter property to disable telemetry for the adapter.
        See Also:
        Constant Field Values
    • Method Detail

      • parseFromProperties

        public static AdapterTelemetryConfiguration parseFromProperties​(Map<String,​String> properties)
        Parse the telemetry configuration from the given properties. If the property is not set, telemetry will be enabled by default.
        Parameters:
        properties - the properties to parse the telemetry configuration from
        Returns:
        the parsed telemetry configuration
      • isTelemetryDisabled

        public boolean isTelemetryDisabled()
        Check if telemetry is enabled for the adapter.
        Returns:
        true if telemetry is disabled for the adapter, false otherwise