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.
This commit is contained in:
Kumi 2024-05-23 18:35:33 +02:00
parent dd890f1708
commit 101cabb99b
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -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 = {