Strengthen metric name structure according to Prometheus guidance
This commit is contained in:
@@ -91,7 +91,7 @@ struct __attribute__((__visibility__("default"))) ConflictSet {
|
|||||||
/** Experimental! */
|
/** Experimental! */
|
||||||
struct MetricsV1 {
|
struct MetricsV1 {
|
||||||
/** A null-terminated string with static lifetime. Identifies this metric.
|
/** 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;
|
const char *name;
|
||||||
/** A null-terminated string with static lifetime. Describes this metric.
|
/** A null-terminated string with static lifetime. Describes this metric.
|
||||||
|
Reference in New Issue
Block a user