Change stats names to use _ instead of -

Using - is causing problems in Influx -> we move to use
the executable name instead of the project name as the main
identifier.
This commit is contained in:
2021-01-15 11:18:07 +01:00
parent fec900ff63
commit 0a3db103c5
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ void StreamStats::print_stats()
system_clock::now()).time_since_epoch().count();
// Output in InfluxDB line protocol
cout << "sf-stream";
cout << "sf_stream";
cout << ",detector_name=" << detector_name_;
cout << ",stream_name=" << stream_name_;
cout << " ";