]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Stop reporting timeouts in `topSlow()`, add `topTimeouts()` 14573/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 20 Aug 2024 12:44:57 +0000 (14:44 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 20 Aug 2024 12:49:19 +0000 (14:49 +0200)
commit49243aa47ffc4162a44d2badfdcbad3f6c5c8fd7
treeb4b0be9aff1090ace595f69ca2970a32427dfe85
parent5dd2221f07fb1d83e64bfe318a3bcc4f36966fa6
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()`.
pdns/dnsdistdist/dnsdist-console.cc
pdns/dnsdistdist/dnsdist-lua-inspection.cc
pdns/dnsdistdist/docs/reference/config.rst