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

Unsupported characters in the label #15

Open
97mik opened this issue Jul 17, 2024 · 0 comments
Open

Unsupported characters in the label #15

97mik opened this issue Jul 17, 2024 · 0 comments

Comments

@97mik
Copy link

97mik commented Jul 17, 2024

I got an error in Grafana when trying to make a query:
could not write JSON response: 1:108: parse error: unexpected character inside braces: '-'

Loki's documentation says:

Unsupported characters in the label should be converted to an underscore. For example, the label app.kubernetes.io/name should be written as app_kubernetes_io_name.

https://grafana.com/docs/loki/latest/get-started/labels/#format

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

1 participant