]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix eBPF metrics in the internal web server 13310/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 29 Sep 2023 13:52:10 +0000 (15:52 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 29 Sep 2023 13:55:49 +0000 (15:55 +0200)
commit2b8de4d5c2f0d8360ef0bd6b4e33183acd1e0a87
tree10974cf1b5d453eb58fe8cf62609f7b9c7714f20
parenta53e079749c0472c0187c4e7f5ac57408165786d
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.
pdns/dnsdist-web.cc
pdns/dnsdistdist/docs/advanced/ebpf.rst
pdns/dnsdistdist/html/local.js