- java.lang.Object
-
- io.helidon.grpc.server.GrpcTracingConfig
-
public class GrpcTracingConfig extends Object
The configuration for gRPC tracing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GrpcTracingConfig.Builder
Builds the configuration of a tracer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GrpcTracingConfig.Builder
builder()
Create a builder ofGrpcTracingConfig
instances.static GrpcTracingConfig
create()
Create a defaultGrpcTracingConfig
instances.boolean
isStreaming()
boolean
isVerbose()
io.opentracing.contrib.grpc.OperationNameConstructor
operationNameConstructor()
Set<ServerRequestAttribute>
tracedAttributes()
-
-
-
Method Detail
-
isVerbose
public boolean isVerbose()
- Returns:
- the configured verbose.
-
isStreaming
public boolean isStreaming()
- Returns:
- the configured streaming.
-
tracedAttributes
public Set<ServerRequestAttribute> tracedAttributes()
- Returns:
- the set of configured tracedAttributes.
-
operationNameConstructor
public io.opentracing.contrib.grpc.OperationNameConstructor operationNameConstructor()
- Returns:
- the configured operationNameConstructor.
-
builder
public static GrpcTracingConfig.Builder builder()
Create a builder ofGrpcTracingConfig
instances.- Returns:
- a builder of
GrpcTracingConfig
instances.
-
create
public static GrpcTracingConfig create()
Create a defaultGrpcTracingConfig
instances.- Returns:
- a default
GrpcTracingConfig
instances.
-
-