MCPcopy
hub / github.com/grpc/grpc-go / isTracingEnabled

Method isTracingEnabled

stats/opentelemetry/opentelemetry.go:73–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71}
72
73func (o *Options) isTracingEnabled() bool {
74 return o.TraceOptions.TracerProvider != nil
75}
76
77// MetricsOptions are the metrics options for OpenTelemetry instrumentation.
78type MetricsOptions struct {

Callers 2

DialOptionFunction · 0.80
ServerOptionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected