stats channels and `rndc dumpstats` do not expose all counters from `rndc status`
Summary
JSON and XML stat channels, and rndc dumpstats
command, do not expose counters from rndc status
. This forces users to scrape both channels to get complete picture.
BIND version used
9.19.8-dev (Development Release) 9128e540 , but it certainly dates long way back.
What is the current bug behavior?
Compare lines produced by rndc status
with content of JSON stats channel:
rndc status line | evaluation | JSON key |
---|---|---|
version: BIND 9.19.8-dev (Development Release) id:9128e54 | different format, just 9.19.8-dev
|
version |
running on p: Linux x86_64 6.0.8-arch1-1 #1 SMP … | missing | |
boot time: Tue, 22 Nov 2022 08:43:49 GMT | different format | boot-time |
last configured: Tue, 22 Nov 2022 09:34:20 GMT | different format | config-time |
configuration file: /etc/named.conf | missing | |
CPUs found: 8 | missing | |
worker threads: 8 | missing | |
UDP listeners per interface: 8 | missing | |
number of zones: 103 (98 automatic) | missing | |
debug level: 0 | missing | |
xfers running: 0 | missing | |
xfers deferred: 0 | missing | |
soa queries in progress: 0 | missing | |
query logging is OFF | missing | |
recursive clients: 0/900/1000 | missing | |
tcp clients: 0/150 | missing | |
TCP high-water: 0 | missing | |
server is up and running | missing |
What is the expected correct behavior?
All information from rndc status
is also exposed in other stats channels.