Skip to content

[bug] node dashboard has invalid syntax #144

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

Closed
uhthomas opened this issue Mar 22, 2025 · 2 comments · Fixed by #142
Closed

[bug] node dashboard has invalid syntax #144

uhthomas opened this issue Mar 22, 2025 · 2 comments · Fixed by #142
Assignees
Labels
bug Something isn't working released

Comments

@uhthomas
Copy link
Contributor

Describe the bug

cannot parse matches[]=node_uname_info{nodename=~"(?i:(dice)(\.[a-z0-9.]+)?)"}: cannot expand WITH expressions: cannot parse string literal "\"(?i:(dice)(\\.[a-z0-9.]+)?)\"": invalid syntax

Image

Likely caused by #137

How to reproduce?

No response

Expected behavior

No response

Additional context

No response

@uhthomas uhthomas added the bug Something isn't working label Mar 22, 2025
@uhthomas
Copy link
Contributor Author

This works:

Image

This doesn't:

Image

uhthomas added a commit to uhthomas/grafana-dashboards-kubernetes that referenced this issue Mar 22, 2025
The query is escaped twice, and therefore the resulting backslash is
considered an escape sequence for the string itself, rather than
escaping the dot (.) in the regular expression.

Fixes: dotdc#144
@dotdc
Copy link
Owner

dotdc commented Apr 10, 2025

🎉 This issue has been resolved in version 2.7.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@dotdc dotdc added the released label Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants