From 209414d85f6b607ac5641bbcf064337c9d0da6e6 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Sat, 13 Jun 2015 01:38:07 +0200 Subject: [PATCH] Mention histograms in doc.go. --- prometheus/doc.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/prometheus/doc.go b/prometheus/doc.go index b98c135..425fe87 100644 --- a/prometheus/doc.go +++ b/prometheus/doc.go @@ -61,12 +61,13 @@ // It also exports some stats about the HTTP usage of the /metrics // 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 -// very important part of the Prometheus data model is the partitioning of -// samples along dimensions called labels, which results in metric vectors. The -// fundamental types are GaugeVec, CounterVec, and SummaryVec. +// In addition to the fundamental metric types Gauge, Counter, Summary, and +// Histogram, a very important part of the Prometheus data model is the +// partitioning of samples along dimensions called labels, which results in +// metric vectors. The fundamental types are GaugeVec, CounterVec, SummaryVec, +// and HistogramVec. // // Those are all the parts needed for basic usage. Detailed documentation and // examples are provided below.