stats/opentelemetry: Cleanup OpenTelemetry API's before stabilization by zasweq · Pull Request #7874 · grpc/grpc-go (original) (raw)

// cardinality and could cause severe memory or performance problems. On
// Client Side, to record the method name along with metric instead of
// bucketing into "other pass a grpc.StaticMethodCallOption as a call option
// into Invoke or NewStream.
//
// This only applies for server side metrics.
// cardinality and could cause severe memory or performance problems.
//
// This only applies for server-side metrics. For clients, to record
// the method name in the attributes, pass grpc.StaticMethodCallOption
// to Invoke or NewStream. Note that when using protobuf generated
// clients, this CallOption is included automatically.