Class SpanTracingConfig.Builder

    • Method Detail

      • enabled

        public SpanTracingConfig.Builder enabled​(boolean enabled)
        Configure whether this traced span is enabled or disabled.
        Parameters:
        enabled - if disabled, this span and all logs will be disabled
        Returns:
        updated builder instance
      • newName

        public SpanTracingConfig.Builder newName​(String newName)
        Configure a new name of this span.
        Parameters:
        newName - new name to use when reporting this span
        Returns:
        updated builder instance
      • addSpanLog

        public SpanTracingConfig.Builder addSpanLog​(SpanLogTracingConfig spanLogTracingConfig)
        Add configuration of a traced span log.
        Parameters:
        spanLogTracingConfig - configuration of the traced span log
        Returns:
        updated builder instance