Mercurial > prosody-hg
diff util/startup.lua @ 13989:a8aa17293d22
util.startup: Add another bucket for DNS lookup timings
Observed larger numbers than expected in the 4..Inf range, want more
details.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 28 Oct 2025 19:15:51 +0100 |
| parents | 260a6feebe5f |
| children | c1469296190d |
line wrap: on
line diff
--- a/util/startup.lua Sat Oct 18 00:53:43 2025 +0200 +++ b/util/startup.lua Tue Oct 28 19:15:51 2025 +0100 @@ -447,7 +447,7 @@ local adns = require "prosody.net.adns"; if adns.instrument then local m = statsmanager.metric("histogram", "prosody_dns", "seconds", "DNS lookups", { "qclass"; "qtype" }, { - buckets = { 1 / 1024; 1 / 256; 1 / 64; 1 / 16; 1 / 4; 1; 4 }; + buckets = { 1 / 1024; 1 / 256; 1 / 64; 1 / 16; 1 / 4; 1; 4; 16 }; }); local c = statsmanager.metric("histogram", "prosody_dns_response", "records", "DNS response records", { "qclass"; "qtype" }, { buckets = { 0; 1; 2; 4; 8; 16 } })
