From cc48fb94d8215eaf529825f76c18e8332352175d Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 9 Jun 2017 21:35:15 +0200 Subject: [PATCH] Fix that metrics are being called nageru_nageru_*. --- metrics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metrics.cpp b/metrics.cpp index ffa6b57..a60eb6c 100644 --- a/metrics.cpp +++ b/metrics.cpp @@ -67,9 +67,9 @@ string Metrics::serialize() const } if (metric.data_type == DATA_TYPE_INT64) { - ss << "nageru_" << name << " " << metric.location_int64->load() << "\n"; + ss << name << " " << metric.location_int64->load() << "\n"; } else { - ss << "nageru_" << name << " " << metric.location_double->load() << "\n"; + ss << name << " " << metric.location_double->load() << "\n"; } } -- 2.39.2