From 958a4e2d0e27ebb7a52a3a10bca5e5fc7dce6bab Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Tue, 16 Jul 2024 18:59:42 -0700 Subject: [PATCH] Strengthen metric name structure according to Prometheus guidance --- include/ConflictSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ConflictSet.h b/include/ConflictSet.h index 9a3439d..6df3b73 100644 --- a/include/ConflictSet.h +++ b/include/ConflictSet.h @@ -91,7 +91,7 @@ struct __attribute__((__visibility__("default"))) ConflictSet { /** Experimental! */ struct MetricsV1 { /** A null-terminated string with static lifetime. Identifies this metric. - * Matches the regex [a-zA-Z_:][a-zA-Z0-9_:]* + * Matches the regex [a-zA-Z][a-zA-Z0-9_]* */ const char *name; /** A null-terminated string with static lifetime. Describes this metric.