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

Function serverOptionWithCSMPluginOption

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

Source from the content-addressed store, hash-verified

79}
80
81func serverOptionWithCSMPluginOption(options opentelemetry.Options, po otelinternal.PluginOption) grpc.ServerOption {
82 otelinternal.SetPluginOption.(func(options *opentelemetry.Options, po otelinternal.PluginOption))(&options, po)
83 return opentelemetry.ServerOption(options)
84}

Callers 3

EnableObservabilityFunction · 0.85

Calls 1

ServerOptionFunction · 0.92

Tested by 2