# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
GetKey converts name+tags into a single string of the form "name|tag1=value1|...|tagN=valueN", where tag names are sorted alphabetically.
Init initializes the passed in metrics and initializes its fields using the passed in factory.
NewLocalBackend returns a new LocalBackend.
NewLocalFactory returns a new LocalMetricsFactory.
StartStopwatch begins recording the executing time of an event, returning a Stopwatch that should be used to stop the recording the time for that event.
# Variables
NullCounter counter that does nothing.
NullFactory is a metrics factory that returns NullCounter, NullTimer, and NullGauge.
NullGauge gauge that does nothing.
NullTimer timer that does nothing.
# Structs
A LocalBackend is a metrics provider which aggregates data in-vm, and allows exporting snapshots to shove the data into a remote collector.
LocalFactory stats factory that creates metrics that are stored locally.
A Stopwatch tracks the execution time of a specific event.