From 101cabb99b4d5a1ca15abf3ffa15ad18216e314f Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 23 May 2024 18:35:33 +0200 Subject: [PATCH] feat(metrics): prefix 'piped_' to registered users gauge Renamed the `registered_users` gauge to `piped_registered_users` to enhance naming clarity and avoid potential conflicts with similar metrics in broader monitoring ecosystems. This prefix addition aligns with a more descriptive and scoped naming convention, facilitating easier identification and filtering within Prometheus and related tools. This change is part of ongoing efforts to improve metric naming consistency across the system. --- prometheus_piped.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus_piped.py b/prometheus_piped.py index b68e7fc..14a78ad 100755 --- a/prometheus_piped.py +++ b/prometheus_piped.py @@ -6,7 +6,7 @@ import yaml # Create a metric to track the number of registered users per domain registered_users_gauge = Gauge( - "registered_users", "Number of registered users", ["domain"] + "piped_registered_users", "Number of registered users", ["domain"] ) headers = {