Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emitter ¶
type Emitter struct { Config *config.Params Logger *logrus.Logger Registry gometrics.Registry // contains filtered or unexported fields }
func (*Emitter) IncrCounter ¶ added in v0.0.5
Increment counter metric key = slice of strings that will be joined with "." to be used as the metric namespace val = float32 metric value
func (*Emitter) Init ¶ added in v0.0.5
func (m *Emitter) Init()
init sets up external and internal metric sinks.
func (*Emitter) MeasureRuntime ¶ added in v0.0.5
Measure time elapsed since invocation
func (*Emitter) UpdateGauge ¶ added in v0.0.5
Set gauge metric key = slice of strings that will be joined with "." to be used as the metric namespace val = float32 metric value
Click to show internal directories.
Click to hide internal directories.