{"modulePath":"github.com/AliceO2Group/Control","version":"v1.34.3","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ecsmetrics\n\n## Functions\n\n```go\nfunc NewMetric(name string) monitoring.Metric\n```\n\n```go\nfunc StartGolangMetrics(period time.Duration)\n```\n\n```go\nfunc StopGolangMetrics()\n```\n\n```go\nfunc TimerMS(metric *monitoring.Metric) func()\n```\nTimer\\* functions are meant to be used with defer statement to measure runtime of given function: defer TimerNS(\u0026metric)()\n\n```go\nfunc TimerNS(metric *monitoring.Metric) func()\n```\n\n","path":"github.com/AliceO2Group/Control/common/ecsmetrics","name":"ecsmetrics","synopsis":"","isRedistributable":true}
