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

Function dialOptionSetCSM

stats/opentelemetry/csm/observability.go:76–79  ·  view source on GitHub ↗
(options opentelemetry.Options, po otelinternal.PluginOption)

Source from the content-addressed store, hash-verified

74}
75
76func dialOptionSetCSM(options opentelemetry.Options, po otelinternal.PluginOption) grpc.DialOption {
77 otelinternal.SetPluginOption.(func(options *opentelemetry.Options, po otelinternal.PluginOption))(&options, po)
78 return opentelemetry.DialOption(options)
79}
80
81func serverOptionWithCSMPluginOption(options opentelemetry.Options, po otelinternal.PluginOption) grpc.ServerOption {
82 otelinternal.SetPluginOption.(func(options *opentelemetry.Options, po otelinternal.PluginOption))(&options, po)

Callers 2

TestXDSLabelsMethod · 0.85

Calls 1

DialOptionFunction · 0.92

Tested by 1

TestXDSLabelsMethod · 0.68