Merge pull request #137 from prometheus/update-doc
Mention histograms in doc.go.
This commit is contained in:
commit
d37c6106ba
|
@ -61,12 +61,13 @@
|
||||||
// It also exports some stats about the HTTP usage of the /metrics
|
// It also exports some stats about the HTTP usage of the /metrics
|
||||||
// endpoint. (See the Handler function for more detail.)
|
// endpoint. (See the Handler function for more detail.)
|
||||||
//
|
//
|
||||||
// A more advanced metric type is the Summary.
|
// Two more advanced metric types are the Summary and Histogram.
|
||||||
//
|
//
|
||||||
// In addition to the fundamental metric types Gauge, Counter, and Summary, a
|
// In addition to the fundamental metric types Gauge, Counter, Summary, and
|
||||||
// very important part of the Prometheus data model is the partitioning of
|
// Histogram, a very important part of the Prometheus data model is the
|
||||||
// samples along dimensions called labels, which results in metric vectors. The
|
// partitioning of samples along dimensions called labels, which results in
|
||||||
// fundamental types are GaugeVec, CounterVec, and SummaryVec.
|
// metric vectors. The fundamental types are GaugeVec, CounterVec, SummaryVec,
|
||||||
|
// and HistogramVec.
|
||||||
//
|
//
|
||||||
// Those are all the parts needed for basic usage. Detailed documentation and
|
// Those are all the parts needed for basic usage. Detailed documentation and
|
||||||
// examples are provided below.
|
// examples are provided below.
|
||||||
|
|
Loading…
Reference in New Issue