]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: Change StatType for some metrics from counter to gauge
authorMischan Toosarani-Hausberger <migosch@gmail.com>
Tue, 2 Jun 2020 18:40:03 +0000 (20:40 +0200)
committerMischan Toosarani-Hausberger <migosch@gmail.com>
Fri, 5 Jun 2020 21:28:18 +0000 (23:28 +0200)
commit33b222ed758ada65a9865cd6398a6a48fb905c00
tree191322f5497a2b71d29bae4c308b6b88e2f06165
parentdec696100c09254b5a2021dc4082b43259dd0a24
auth: Change StatType for some metrics from counter to gauge

"packetcache-size" and "query-cache-size" are both decremented and
incremented and thus clearly gauges.

"security-status" is an ordered category and thus also qualifies as a
gauge.
docs/http-api/index.rst
pdns/auth-packetcache.cc
pdns/auth-querycache.cc
pdns/common_startup.cc
pdns/statbag.cc
pdns/statbag.hh