Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeSeries ¶
MakeSeries creates Series in influxdb format: <measurement>,<tag1>=<key1>,<tagN>=<keyN) <field1>=
func SnapshotLines ¶
func SnapshotLines() string
SnapshotLines provies all collected metrics in Line protocol format. https://github.com/influxdata/influxdb/blob/master/tsdb/README.md
Types ¶
type Counter ¶
type Counter struct { Name string Tags map[string]string Field string // contains filtered or unexported fields }
Counter inherits metrics.Counter and provides counter in influxdb format. Use a counter to derive rates (e.g., record total number of requests, derive requests per second).
type Gauge ¶
type Gauge struct { Name string Tags map[string]string Field string // contains filtered or unexported fields }
Gauge inherits metrics.Gauge and provides gauges in influxdb format. A Gauge is an instantaneous measurement of a value.
Use a gauge to track metrics which increase and decrease (e.g., amount of free memory).
Click to show internal directories.
Click to hide internal directories.