Class TracingConfig.Builder

    • Method Detail

      • config

        public TracingConfig.Builder config​(Config config)
        Update this builder from configuration.
        Parameters:
        config - Config with tracing configuration
        Returns:
        updated builder instance
      • addComponent

        public TracingConfig.Builder addComponent​(ComponentTracingConfig component)
        Add a traced component configuration.
        Parameters:
        component - configuration of this component's tracing
        Returns:
        updated builder instance
      • enabled

        public TracingConfig.Builder enabled​(boolean enabled)
        Whether overall tracing is enabled. If tracing is disabled on this level, all traced components and spans are disabled - even if explicitly configured as enabled.
        Parameters:
        enabled - set to false to disable tracing for any component and span
        Returns:
        updated builder instance