From a3a343b20ebf388581f61e207c424f96d785c5e5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 4 Feb 2022 22:11:14 +0100 Subject: mod_smacks: Tweak resumption age buckets towards multiples of 60 This seems like the thing to do for time, which is usually divided into divisors divisible by 60, or multiplied by multiples of 60 --- plugins/mod_smacks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua index 0215a604..ce59248e 100644 --- a/plugins/mod_smacks.lua +++ b/plugins/mod_smacks.lua @@ -38,7 +38,7 @@ local resumption_age = module:metric( "histogram", "resumption_age", "seconds", "time the session had been hibernating at the time of a resumption", {}, - {buckets = { 0, 1, 2, 5, 10, 20, 50, 100, 200, 500 }} + {buckets = { 0, 1, 2, 5, 10, 30, 60, 120, 300, 600 }} ):with_labels(); local sessions_expired = module:measure("sessions_expired", "counter"); local sessions_started = module:measure("sessions_started", "counter"); -- cgit v1.2.3