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

Function NewCounter

metric/counter.go:21–24  ·  view source on GitHub ↗

NewCounter returns a client side buffered counter (a counter is a server side maintained value). "Server side" meaning that it's reset to 0 every time it's sent to the server and the total tally is kept on the server. This poses the risk of the server-side absolute value to drift in case of incremen

(name string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

RegisterCounterMethod · 0.85
RegisterCounterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected