Documentation ¶
Overview ¶
Package metrics provides support for metrics collecting mechanism.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter interface { Inc() // contains filtered or unexported methods }
Counter is a cumulative metric that represents a single numerical value that only ever goes up.
type Exposer ¶
type Exposer interface { CreateGauge(name, description string) Gauge CreateCounter(name, description string) Counter CreateHistogram(name, description string, buckets []float64) Histogram CreateSummary(name, description string, objectives map[float64]float64) Summary Expose() ExposeHandler() http.Handler system.Disposer }
Exposer represents metrics exposer mechanism.
type Gauge ¶
type Gauge interface { Set(value float64) // contains filtered or unexported methods }
Gauge is a metric that represents a single numerical value that can arbitrarily go up and down.
Directories ¶
Path | Synopsis |
---|---|
Package prometheus provides support for Prometheus metrics collector.
|
Package prometheus provides support for Prometheus metrics collector. |
Click to show internal directories.
Click to hide internal directories.