Skip to content

Add compile time check to make sure that types used as labels for metric families have the required traits#210

Open
antoniovicente wants to merge 1 commit into
cloudflare:mainfrom
antoniovicente:antonio/metric_label_validate
Open

Add compile time check to make sure that types used as labels for metric families have the required traits#210
antoniovicente wants to merge 1 commit into
cloudflare:mainfrom
antoniovicente:antonio/metric_label_validate

Conversation

@antoniovicente
Copy link
Copy Markdown

Use of types without the required traits will trigger an prometheus encoding failure so it's important to catch this kind of issue early.

…ric families have the required traits

Use of types without the required traits will trigger an prometheus encoding failure so it's important to catch this kind of issue early.
@antoniovicente
Copy link
Copy Markdown
Author

@TheJokr

@TheJokr TheJokr self-requested a review May 29, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant