From 4be206f56769495b1090f7e39d111560b77494fc Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 31 Jan 2023 13:40:10 +0100 Subject: [PATCH] ixfrdist /metrics: add CPU and memory stats, note unit for uptime --- pdns/ixfrdist-stats.cc | 14 +++++++++++++- regression-tests.ixfrdist/test_Stats.py | 6 +++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/pdns/ixfrdist-stats.cc b/pdns/ixfrdist-stats.cc index 9b0aed4b27..7f3ab5feb7 100644 --- a/pdns/ixfrdist-stats.cc +++ b/pdns/ixfrdist-stats.cc @@ -27,14 +27,26 @@ std::string ixfrdistStats::getStats() { std::stringstream stats; const std::string prefix = "ixfrdist_"; - stats<<"# HELP "<