Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metric names containing spaces are not valid #112

Open
08d2 opened this issue Dec 6, 2022 · 1 comment
Open

Metric names containing spaces are not valid #112

08d2 opened this issue Dec 6, 2022 · 1 comment

Comments

@08d2
Copy link

08d2 commented Dec 6, 2022

Code like e.g. this suggests that this crate permits metric names containing spaces. The data model asserts that

The metric name. . . may contain ASCII letters and digits, as well as underscores and colons. It must match the regex [a-zA-Z_:][a-zA-Z0-9_:]*.

Names that don't meet these criteria should be rejected.

@mxinden
Copy link
Member

mxinden commented Dec 6, 2022

See also #52.

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

No branches or pull requests

2 participants