From cb8f54c590c35f3cfe0e2a190a8eeddbcd7c4a26 Mon Sep 17 00:00:00 2001 From: Lev Dragunov Date: Fri, 30 Aug 2019 18:14:27 +0300 Subject: [PATCH] add 'osrm' prefix to the metrics --- docs/monitoring.md | 4 ++-- src/monitoring/monitoring_request_handler.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/monitoring.md b/docs/monitoring.md index 0de712213..4c70ea1b8 100644 --- a/docs/monitoring.md +++ b/docs/monitoring.md @@ -11,5 +11,5 @@ This option switched off by default. To enable this feature please set `-P GetUsage(); for (auto counter : counters) { - out_stream << "http_requests_count{plugin=\"" << counter.first << "\"} " << counter.second + out_stream << "osrm_http_requests_count{plugin=\"" << counter.first << "\"} " << counter.second << "\n"; } - out_stream << "workers_busy " << service_handler->GetLoad() << "\n"; + out_stream << "osrm_workers_busy " << service_handler->GetLoad() << "\n"; auto result = out_stream.str(); current_reply.content.resize(result.size());