]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Stop reporting timeouts in `topSlow()`, add `topTimeouts()` 14641/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 20 Aug 2024 12:44:57 +0000 (14:44 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 9 Sep 2024 13:52:26 +0000 (15:52 +0200)
commita31dc423a02b39f1db74d279e44f757c5cac8e66
tree80d10be8d612afa9a9f087b6b6665b8a69054528
parenteb1538c876c9f049aca06c07eeb46135f21e04bd
dnsdist: Stop reporting timeouts in `topSlow()`, add `topTimeouts()`

Until this commit `topSlow()` returned queries that timed out, which
is not very helpful. This was happening because timeouts are internally
recorded with a very high response time.
With this change, `topSlow()` now ignores queries that timed out, and
a new command is added to look into these: `topTimeouts()`.

(cherry picked from commit 49243aa47ffc4162a44d2badfdcbad3f6c5c8fd7)
pdns/dnsdist-console.cc
pdns/dnsdist-lua-inspection.cc
pdns/dnsdistdist/docs/reference/config.rst