Documentation
¶
Overview ¶
Package singleton is the home of the metrics feature's default recorder, allowing users of the metrics module to use metrics without passing around the Recorder instance everywhere.
In order to disallow potentially unsafe direct accesses to a global, the implementation of the default is segregated to this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefault ¶
SetDefault sets the metric recording backend to use as the default
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.