]> git.ipfire.org Git - thirdparty/pdns.git/commit
Only prepend the pdns_recursor_ prefix if no 2nd arg to getMteric was 9687/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 30 Oct 2020 08:12:06 +0000 (09:12 +0100)
committerOtto Moerbeek <otto@drijf.net>
Mon, 9 Nov 2020 11:51:50 +0000 (12:51 +0100)
commitbe8f14da91e9ba6ede2efda0686d2172a8811dcf
tree2afabbe8e9d744569f19a068b4e0a8dddcffc612
parent38ffc6ba7bd77ddfd8a3f81af3d3a2b6fdf568aa
Only prepend the pdns_recursor_ prefix if no 2nd arg to getMteric was
given.

This also fixes the lookup of the HELP entries since they require the
original key. So getAllStats() now returns the key, the prometheus name
and the value.

(cherry picked from commit 308cd14cac73ba48aca3d3953e12d1cc04a96bbb)
pdns/rec-carbon.cc
pdns/rec_channel.hh
pdns/rec_channel_rec.cc
pdns/ws-recursor.cc