diff --git a/core/prometheus_metrics_handler.py b/core/prometheus_metrics_handler.py index 230ae1b..e452bd1 100644 --- a/core/prometheus_metrics_handler.py +++ b/core/prometheus_metrics_handler.py @@ -7,27 +7,27 @@ disable_created_metrics() registry = CollectorRegistry() page_requests_counter = Counter( - "page_requests", + "spothole_page_requests", "Total number of page requests received", registry=registry, ) api_requests_counter = Counter( - "api_requests", + "spothole_api_requests", "Total number of API requests received", registry=registry ) spots_gauge = Gauge( - "spots", + "spothole_spots", "Number of spots currently in the software", registry=registry ) alerts_gauge = Gauge( - "alerts", + "spothole_alerts", "Number of alerts currently in the software", registry=registry ) memory_use_gauge = Gauge( - "memory_usage_bytes", + "spothole_memory_usage_bytes", "Current memory usage of the software in bytes", registry=registry )