MCPcopy Create free account
hub / github.com/One-com/gone / Register

Method Register

metric/client.go:180–210  ·  view source on GitHub ↗

Register a Meter with the client, finding a flusher with the appropriate interval, if possible, else create a new flusher.

(m Meter, opts ...MOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

ExampleNewClientFunction · 0.95
RegisterCounterMethod · 0.95
RegisterGaugeMethod · 0.95
RegisterTimerMethod · 0.95
RegisterHistogramMethod · 0.95
RegisterSetMethod · 0.95
TestSetFunction · 0.80
RegisterCounterFunction · 0.80
RegisterGaugeFunction · 0.80
RegisterTimerFunction · 0.80
RegisterHistogramFunction · 0.80

Calls 5

setSinkMethod · 0.95
runMethod · 0.95
registerMethod · 0.95
newFlusherFunction · 0.85
AddMethod · 0.80

Tested by 2

ExampleNewClientFunction · 0.76
TestSetFunction · 0.64