]> git.ipfire.org Git - thirdparty/pdns.git/commit
Limit dynamic metric types to a set of valid strings
authorJess Bees <jesse@toomanybees.com>
Mon, 27 Oct 2025 14:44:39 +0000 (10:44 -0400)
committerJess Bees <jesse@toomanybees.com>
Mon, 27 Oct 2025 14:49:56 +0000 (10:49 -0400)
commitb4eec9b004f26fc1fe2f638c6a480820fa6ad9ad
tree677265a5d43527f7047dfac1fe76011acc2ae917
parent58b6580dff100582679ef90cb31473f6e9601a40
Limit dynamic metric types to a set of valid strings

Basing this on code from dnsdist, it's limited to "counter" and "gauge"
types.

Signed-off-by: Jess Bees <jesse@toomanybees.com>
pdns/recursordist/rec_channel.hh
pdns/recursordist/rec_channel_rec.cc
pdns/recursordist/ws-recursor.cc