Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResetMaxGauges ¶ added in v1.6.1
func ResetMaxGauges()
ResetMaxGauges sets the value of registered gauges to 0.
Types ¶
type HybridTimer ¶ added in v1.6.1
HybridTimer holds both metrics.Meter and metrics.Gauge to track meter-wise value and temporal maximum value during the certain period.
func NewRegisteredHybridTimer ¶ added in v1.6.1
func NewRegisteredHybridTimer(name string, r metrics.Registry) HybridTimer
NewRegisteredHybridTimer constructs and registers a new HybridTimer. `name` is used by meter and `name`+"/maxgauge" is used by gauge.
Directories ¶
Path | Synopsis |
---|---|
Package exp hooks go-metrics into expvar on any metrics request, loads all vars from the registry into expvar, and executes regular expvar handler.
|
Package exp hooks go-metrics into expvar on any metrics request, loads all vars from the registry into expvar, and executes regular expvar handler. |
Package influxdb implements go-metrics library which will post to the influxDB.
|
Package influxdb implements go-metrics library which will post to the influxDB. |
Package librato implements go-metrics library which will post to the Librato.
|
Package librato implements go-metrics library which will post to the Librato. |
Package prometheusmetrics implements go-metrics library which will post to the prometheus client registry.
|
Package prometheusmetrics implements go-metrics library which will post to the prometheus client registry. |
Click to show internal directories.
Click to hide internal directories.