Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetric ¶
func NewMetric(name string) monitoring.Metric
func StartGolangMetrics ¶
func StopGolangMetrics ¶
func StopGolangMetrics()
func TimerMS ¶ added in v1.32.0
func TimerMS(metric *monitoring.Metric) func()
Timer* functions are meant to be used with defer statement to measure runtime of given function: defer TimerNS(&metric)()
func TimerNS ¶ added in v1.32.0
func TimerNS(metric *monitoring.Metric) func()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.