From 654e2681a2d22e5f007f3c642f6a0c1c2d90639d Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 24 May 2021 12:03:35 +0200 Subject: [PATCH] Add histrogram example --- http/metrics.hist | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 http/metrics.hist 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 -- 2.39.5