java.lang.Object
io.helidon.grpc.server.GrpcTracingConfig.Builder
- Enclosing class:
- GrpcTracingConfig
Builds the configuration of a tracer.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withOperationName
(GrpcTracingName operationNameConstructor) Logs streaming events to server spans.withTracedAttributes
(ServerRequestAttribute... attributes) Logs all request life-cycle events to server spans.
-
Method Details
-
withOperationName
- Parameters:
operationNameConstructor
- for all spans- Returns:
- this Builder with configured operation name
-
withTracedAttributes
- Parameters:
attributes
- to set as tags on server spans- Returns:
- this Builder configured to trace request attributes
-
withStreaming
Logs streaming events to server spans.- Returns:
- this Builder configured to log streaming events
-
withVerbosity
Logs all request life-cycle events to server spans.- Returns:
- this Builder configured to be verbose
-
build
- Returns:
- a GrpcTracingConfig with this Builder's configuration
-