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

Method Record

experimental/stats/metricregistry.go:94–96  ·  view source on GitHub ↗

Record records the int64 count value on the metrics recorder provided.

(recorder MetricsRecorder, incr int64, labels ...string)

Source from the content-addressed store, hash-verified

92
93// Record records the int64 count value on the metrics recorder provided.
94func (h *Int64CountHandle) Record(recorder MetricsRecorder, incr int64, labels ...string) {
95 recorder.RecordInt64Count(h, incr, labels...)
96}
97
98// Int64UpDownCountHandle is a typed handle for an int up-down counter metric.
99// This handle is passed at the recording point in order to know which metric

Callers 15

ReportMethod · 0.45
updateSubConnStateMethod · 0.45
weightMethod · 0.45
newSchedulerMethod · 0.45
BuildMethod · 0.45
successRateAlgorithmMethod · 0.45

Calls 1

RecordInt64CountMethod · 0.65

Tested by 6

BuildMethod · 0.36
TestMetricRegistryMethod · 0.36
TestUpDownCountsMethod · 0.36
TestNumerousIntCountsMethod · 0.36