Class TracingConfiguration.Builder

    • Method Detail

      • withOperationName

        public TracingConfiguration.Builder withOperationName​(io.opentracing.contrib.grpc.OperationNameConstructor operationNameConstructor)
        Deprecated.
        Parameters:
        operationNameConstructor - for all spans
        Returns:
        this Builder with configured operation name
      • withTracedAttributes

        public TracingConfiguration.Builder withTracedAttributes​(ServerRequestAttribute... attributes)
        Deprecated.
        Parameters:
        attributes - to set as tags on server spans
        Returns:
        this Builder configured to trace request attributes
      • withStreaming

        public TracingConfiguration.Builder withStreaming()
        Deprecated.
        Logs streaming events to server spans.
        Returns:
        this Builder configured to log streaming events
      • withVerbosity

        public TracingConfiguration.Builder withVerbosity()
        Deprecated.
        Logs all request life-cycle events to server spans.
        Returns:
        this Builder configured to be verbose
      • build

        public TracingConfiguration build()
        Deprecated.
        Returns:
        a GrpcTracingConfig with this Builder's configuration