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
@@ -51,7 +51,7 @@ void BufferStats::print_stats()
system_clock::now()).time_since_epoch().count();
// Output in InfluxDB line protocol
cout << "jf-buffer-writer";
cout << "jf_buffer_writer";
cout << ",detector_name=" << detector_name_;
cout << ",module_name=M" << module_id_;
cout << " ";