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

Method GetMetadata

stats/opentelemetry/internal/pluginoption.go:37–37  ·  view source on GitHub ↗

GetMetadata creates a MD with metadata exchange labels.

()

Source from the content-addressed store, hash-verified

35type PluginOption interface {
36 // GetMetadata creates a MD with metadata exchange labels.
37 GetMetadata() metadata.MD
38 // GetLabels emits labels to be attached to metrics for the RPC that
39 // contains the provided incomingMetadata.
40 GetLabels(incomingMetadata metadata.MD) map[string]string

Callers 12

TestCanceledStatusMethod · 0.65
buildGCPLoggingEntryMethod · 0.65
ConfigureMethod · 0.65
BuildMethod · 0.65
matchersFromPermissionsFunction · 0.65
parseEndpointsFunction · 0.65
parseEDSRespProtoFunction · 0.65
unaryInterceptorMethod · 0.65
streamInterceptorMethod · 0.65
unaryInterceptorMethod · 0.65
streamInterceptorMethod · 0.65

Implementers 1

pluginOptionstats/opentelemetry/csm/pluginoption.g

Calls

no outgoing calls

Tested by 1

TestCanceledStatusMethod · 0.52