From: Remi Gacogne Date: Mon, 2 Sep 2019 09:02:45 +0000 (+0200) Subject: dnsdist: Remove 'blockfilter' stat from the web view X-Git-Tag: rec-4.3.0-alpha1~7^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b872ef2ea3f4518170fbd111fdbf8bd46202ac9;p=pdns dnsdist: Remove 'blockfilter' stat from the web view --- diff --git a/pdns/dnsdistdist/docs/guides/webserver.rst b/pdns/dnsdistdist/docs/guides/webserver.rst index bb8d8e3dd..5bf40438b 100644 --- a/pdns/dnsdistdist/docs/guides/webserver.rst +++ b/pdns/dnsdistdist/docs/guides/webserver.rst @@ -74,7 +74,7 @@ URL Endpoints X-Permitted-Cross-Domain-Policies: none X-Xss-Protection: 1; mode=block - {"acl-drops": 0, "block-filter": 0, "cache-hits": 0, "cache-misses": 0, "cpu-sys-msec": 633, "cpu-user-msec": 499, "downstream-send-errors": 0, "downstream-timeouts": 0, "dyn-block-nmg-size": 1, "dyn-blocked": 3, "empty-queries": 0, "fd-usage": 17, "latency-avg100": 7651.3982737482893, "latency-avg1000": 860.05142763680249, "latency-avg10000": 87.032142373878372, "latency-avg1000000": 0.87146026426551759, "latency-slow": 0, "latency0-1": 0, "latency1-10": 0, "latency10-50": 22, "latency100-1000": 1, "latency50-100": 0, "no-policy": 0, "noncompliant-queries": 0, "noncompliant-responses": 0, "over-capacity-drops": 0, "packetcache-hits": 0, "packetcache-misses": 0, "queries": 26, "rdqueries": 26, "real-memory-usage": 6078464, "responses": 23, "rule-drop": 0, "rule-nxdomain": 0, "rule-refused": 0, "self-answered": 0, "server-policy": "leastOutstanding", "servfail-responses": 0, "too-old-drops": 0, "trunc-failures": 0, "uptime": 412} + {"acl-drops": 0, "cache-hits": 0, "cache-misses": 0, "cpu-sys-msec": 633, "cpu-user-msec": 499, "downstream-send-errors": 0, "downstream-timeouts": 0, "dyn-block-nmg-size": 1, "dyn-blocked": 3, "empty-queries": 0, "fd-usage": 17, "latency-avg100": 7651.3982737482893, "latency-avg1000": 860.05142763680249, "latency-avg10000": 87.032142373878372, "latency-avg1000000": 0.87146026426551759, "latency-slow": 0, "latency0-1": 0, "latency1-10": 0, "latency10-50": 22, "latency100-1000": 1, "latency50-100": 0, "no-policy": 0, "noncompliant-queries": 0, "noncompliant-responses": 0, "over-capacity-drops": 0, "packetcache-hits": 0, "packetcache-misses": 0, "queries": 26, "rdqueries": 26, "real-memory-usage": 6078464, "responses": 23, "rule-drop": 0, "rule-nxdomain": 0, "rule-refused": 0, "self-answered": 0, "server-policy": "leastOutstanding", "servfail-responses": 0, "too-old-drops": 0, "trunc-failures": 0, "uptime": 412} **Example request**: diff --git a/pdns/dnsdistdist/html/index.html b/pdns/dnsdistdist/html/index.html index a49d37281..7e2599780 100644 --- a/pdns/dnsdistdist/html/index.html +++ b/pdns/dnsdistdist/html/index.html @@ -49,7 +49,7 @@

- Uptime: , Number of queries: ( qps), ACL drops: , Dynamic drops: , Rule drops: , Blockfilter drops:
+ Uptime: , Number of queries: ( qps), ACL drops: , Dynamic drops: , Rule drops:
Average response time: ms, CPU Usage: %, Cache hitrate: %, Server selection policy:
Listening on: , ACL:

diff --git a/pdns/dnsdistdist/html/local.js b/pdns/dnsdistdist/html/local.js index 49304f125..cbf953406 100644 --- a/pdns/dnsdistdist/html/local.js +++ b/pdns/dnsdistdist/html/local.js @@ -149,7 +149,6 @@ $(document).ready(function() { $("#acl-drops").text(data["acl-drops"]); $("#dyn-drops").text(data["dyn-blocked"]); $("#rule-drops").text(data["rule-drop"]); - $("#blockfilter-drops").text(data["block-filter"]); $("#uptime").text(moment.duration(data["uptime"]*1000.0).humanize()); $("#latency").text((data["latency-avg10000"]/1000.0).toFixed(2)); if(!gdata["cpu-sys-msec"])