//
pkg.gl
Category
github.com/lightkool/fabric
common
metrics
package
1.1.0
Repository:
https://github.com/lightkool/fabric.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
17
Dependents
0
Files
598 SLOC
#
Functions
Init
Init initializes global root metrics scope instance, all callers can only use it to extend sub scope.
NewOpts
NewOpts create metrics options based config file.
Shutdown
Shutdown closes underlying resources used by metrics server.
Start
Start starts metrics server.
#
Variables
RootScope
No description provided by the author
#
Structs
Opts
No description provided by the author
PromReporterOpts
No description provided by the author
StatsdReporterOpts
No description provided by the author
#
Interfaces
Counter
Counter is the interface for emitting Counter type metrics.
Gauge
Gauge is the interface for emitting Gauge metrics.
Scope
Scope is a namespace wrapper around a stats Reporter, ensuring that all emitted values have a given prefix or set of tags.