]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix eBPF metrics in the internal web server 13602/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 29 Sep 2023 13:52:10 +0000 (15:52 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 12 Dec 2023 10:46:15 +0000 (11:46 +0100)
commit2a20c0629b26bd7c1ab3f7d75df42185c1f568e4
tree1bd9a3734245dd2f802b595279a467bf92e0c945
parent737b70364ec1c8dd20a932ea76a1c391c9075bc1
dnsdist: Fix eBPF metrics in the internal web server

We used to only display eBPF dynamic blocks for the Dynamic BPF
registered via `registerDynBPFFilter()`, which does not play well
with the new DynBlockRulesGroup approach.
This commit fixes it by making exporting / displaying metric for
the default BPF filter (`setDefaultBPFFilter`) as well.

(cherry picked from commit 2b8de4d5c2f0d8360ef0bd6b4e33183acd1e0a87)
pdns/dnsdist-web.cc
pdns/dnsdistdist/docs/advanced/ebpf.rst
pdns/dnsdistdist/html/local.js