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

Function removeLeadingSlash

stats/opencensus/stats.go:50–52  ·  view source on GitHub ↗
(mn string)

Source from the content-addressed store, hash-verified

48)
49
50func removeLeadingSlash(mn string) string {
51 return strings.TrimLeft(mn, "/")
52}
53
54// metricsInfo is data used for recording metrics about the rpc attempt client
55// side, and the overall rpc server side.

Callers 7

createCallSpanMethod · 0.70
perCallTracesAndMetricsFunction · 0.70
statsTagRPCMethod · 0.70
recordDataBeginFunction · 0.70
recordDataEndFunction · 0.70
traceTagRPCMethod · 0.70
traceTagRPCMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected