From: Steinar H. Gunderson Date: Fri, 9 Jun 2017 19:35:15 +0000 (+0200) Subject: Fix that metrics are being called nageru_nageru_*. X-Git-Tag: 1.6.1~64 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=cc48fb94d8215eaf529825f76c18e8332352175d Fix that metrics are being called nageru_nageru_*. --- 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"; } }