influx doc comment updated
kpacha
7 years ago
20 | 20 | // one data point per flush, with a "count" field that reflects all adds since |
21 | 21 | // the last flush. Gauges are modeled as a timeseries with one data point per |
22 | 22 | // flush, with a "value" field that reflects the current state of the gauge. |
23 | // Histograms are modeled as a timeseries with one data point per observation, | |
24 | // with a "value" field that reflects each observation; use e.g. the HISTOGRAM | |
25 | // aggregate function to compute histograms. | |
23 | // Histograms are modeled as a timeseries with one data point per combination of tags, | |
24 | // with a set of quantile fields that reflects the p50, p90, p95 & p99. | |
26 | 25 | // |
27 | // Influx tags are immutable, attached to the Influx object, and given to each | |
28 | // metric at construction. Influx fields are mapped to Go kit label values, and | |
29 | // may be mutated via With functions. Actual metric values are provided as | |
26 | // Influx tags are attached to the Influx object, can be given to each | |
27 | // metric at construction and can be updated anytime via With function. Influx fields | |
28 | // are mapped to Go kit label values directly by this collector. Actual metric values are provided as | |
30 | 29 | // fields with specific names depending on the metric. |
31 | 30 | // |
32 | 31 | // All observations are collected in memory locally, and flushed on demand. |