]> git.sesse.net Git - nageru/commitdiff
Fix that metrics are being called nageru_nageru_*.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 9 Jun 2017 19:35:15 +0000 (21:35 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 9 Jun 2017 19:35:15 +0000 (21:35 +0200)
metrics.cpp

index ffa6b57b5dec2c9fe641e1af799b8afd2b98ba6d..a60eb6c6a25d1dec85eb79b2f11aa0dfb1f8f84d 100644 (file)
@@ -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";
                }
        }