Class BraveTracing.Builder

    • Method Detail

      • includeCommandArgsInSpanTags

        public BraveTracing.Builder includeCommandArgsInSpanTags​(boolean includeCommandArgsInSpanTags)
        Controls the inclusion of command arguments in Span tags. Enabled by default.
        Parameters:
        includeCommandArgsInSpanTags - the flag to enable or disable the inclusion of command args in Span tags.
        Returns:
        this BraveTracing.Builder.
      • endpointCustomizer

        public BraveTracing.Builder endpointCustomizer​(Consumer<zipkin2.Endpoint.Builder> endpointCustomizer)
        Sets an Endpoint customizer to customize the Endpoint through its Endpoint.Builder. The customizer is invoked before building the endpoint.
        Parameters:
        endpointCustomizer - must not be null.
        Returns:
        this BraveTracing.Builder.
      • spanCustomizer

        public BraveTracing.Builder spanCustomizer​(Consumer<brave.Span> spanCustomizer)
        Sets an Span customizer to customize the Span. The customizer is invoked before Span.finish() finishing} the span.
        Parameters:
        spanCustomizer - must not be null.
        Returns:
        this BraveTracing.Builder.