From 007e78a6c7ffa23d7c6fa8e4dd61131a612e7327 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 27 Nov 2019 14:01:15 +0200 Subject: [PATCH] Add links to https://medium.com/@valyala/improving-histogram-usability-for-prometheus-and-grafana-bc7e5df0e350 from Histogram docs --- README.md | 1 + histogram.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 6cb2305..4f1283a 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ * Fast. * Allows exporting distinct metric sets via distinct endpoints. See [Set](http://godoc.org/github.com/VictoriaMetrics/metrics#Set). * Supports [easy-to-use histograms](http://godoc.org/github.com/VictoriaMetrics/metrics#Histogram), which just work without any tuning. + Read more about VictoriaMetrics histograms at [this article](https://medium.com/@valyala/improving-histogram-usability-for-prometheus-and-grafana-bc7e5df0e350). ### Limitations diff --git a/histogram.go b/histogram.go index 2d5f80b..5d3b0fc 100644 --- a/histogram.go +++ b/histogram.go @@ -19,6 +19,8 @@ const ( // Histogram is a histogram for non-negative values with automatically created buckets. // +// See https://medium.com/@valyala/improving-histogram-usability-for-prometheus-and-grafana-bc7e5df0e350 +// // Each bucket contains a counter for values in the given range. // Each non-empty bucket is exposed via the following metric: //