Package io.helidon.grpc.server
Class TracingConfiguration.Builder
- java.lang.Object
-
- io.helidon.grpc.server.TracingConfiguration.Builder
-
- Enclosing class:
- TracingConfiguration
@Deprecated public static class TracingConfiguration.Builder extends Object
Deprecated.useGrpcTracingConfig.builder()
insteadBuilds the configuration of a tracer.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TracingConfiguration
build()
Deprecated.TracingConfiguration.Builder
withOperationName(io.opentracing.contrib.grpc.OperationNameConstructor operationNameConstructor)
Deprecated.TracingConfiguration.Builder
withStreaming()
Deprecated.Logs streaming events to server spans.TracingConfiguration.Builder
withTracedAttributes(ServerRequestAttribute... attributes)
Deprecated.TracingConfiguration.Builder
withVerbosity()
Deprecated.Logs all request life-cycle events to server spans.
-
-
-
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
-
-