Package list golang-github-go-kit-kit / 5198630
influx doc comment updated kpacha 5 years ago
1 changed file(s) with 5 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
2020 // one data point per flush, with a "count" field that reflects all adds since
2121 // the last flush. Gauges are modeled as a timeseries with one data point per
2222 // 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.
2625 //
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
3029 // fields with specific names depending on the metric.
3130 //
3231 // All observations are collected in memory locally, and flushed on demand.