From: Martin Pitt Date: Mon, 24 May 2021 10:03:35 +0000 (+0200) Subject: Add histrogram example X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=654e2681a2d22e5f007f3c642f6a0c1c2d90639d;p=learn-metrics.git Add histrogram example --- diff --git a/http/metrics.hist b/http/metrics.hist new file mode 100644 index 0000000..d2443da --- /dev/null +++ b/http/metrics.hist @@ -0,0 +1,31 @@ +# HELP queue_seconds histogram of queue wait times +# TYPE queue_seconds histogram +queue_seconds_bucket{le="300"} 10 1621849102271 +queue_seconds_bucket{le="3600"} 10 1621849102271 +queue_seconds_bucket{le="+Inf"} 10 1621849102271 +queue_seconds_count 10 1621849102271 +queue_seconds_sum 100 1621849102271 + +queue_seconds_bucket{le="300"} 12 1621849152271 +queue_seconds_bucket{le="3600"} 12 1621849152271 +queue_seconds_bucket{le="+Inf"} 12 1621849152271 +queue_seconds_count 12 1621849152271 +queue_seconds_sum 120 1621849152271 + +queue_seconds_bucket{le="300"} 12 1621849202271 +queue_seconds_bucket{le="3600"} 14 1621849202271 +queue_seconds_bucket{le="+Inf"} 14 1621849202271 +queue_seconds_count 14 1621849202271 +queue_seconds_sum 1500 1621849202271 + +queue_seconds_bucket{le="300"} 12 1621849252271 +queue_seconds_bucket{le="3600"} 15 1621849252271 +queue_seconds_bucket{le="+Inf"} 17 1621849252271 +queue_seconds_count 17 1621849252271 +queue_seconds_sum 4800 1621849252271 + +queue_seconds_bucket{le="300"} 14 1621849302271 +queue_seconds_bucket{le="3600"} 17 1621849302271 +queue_seconds_bucket{le="+Inf"} 19 1621849302271 +queue_seconds_count 19 1621849302271 +queue_seconds_sum 4810 1621849302271