mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_csi_simple: Provide custom set of timing buckets
The default of 0.001..100.0 did not feel suitable here. This might be better. Longer is better and hold times less than a few seconds is generally undesirable.
This commit is contained in:
parent
841384e7be
commit
cdffc6aac2
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ local function with_timestamp(stanza, from)
|
|||
return stanza;
|
||||
end
|
||||
|
||||
local measure_buffer_hold = module:measure("buffer_hold", "times");
|
||||
local measure_buffer_hold = module:measure("buffer_hold", "times",
|
||||
{ buckets = { 0.1; 1; 5; 10; 15; 30; 60; 120; 180; 300; 600; 900 } });
|
||||
|
||||
local flush_reasons = module:metric(
|
||||
"counter", "flushes", "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue