From 7c05901b1d22693a29cced84f9c3b24f5dc4a0ec Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 30 Jan 2023 18:42:46 +0100 Subject: [PATCH] ixfrdist /metrics: quote label values; suffix counters with _total; remove full totals; add promtool test --- pdns/ixfrdist-stats.cc | 53 +++++++++++-------------- regression-tests.ixfrdist/test_Stats.py | 32 ++++++++++++--- tasks.py | 1 + 3 files changed, 50 insertions(+), 36 deletions(-) diff --git a/pdns/ixfrdist-stats.cc b/pdns/ixfrdist-stats.cc index 3aa9720568..292565a819 100644 --- a/pdns/ixfrdist-stats.cc +++ b/pdns/ixfrdist-stats.cc @@ -42,67 +42,60 @@ std::string ixfrdistStats::getStats() { stats<<"# TYPE "<