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

generate-dashboard-configmap-yaml.sh : asterisk character in panel query is incorrectly evaluated #1165

Open
ghost opened this issue Mar 2, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 2, 2023

The script generate-dashboard-configmap-yaml.sh doesn't correctly export dashboard containing asterisk character in the query of panels.

This issue occurs also when the script generate-dashboard-configmap-yaml.sh is executed in a not-empty directory.

To reproduce this issue execute the following steps:

  1. Create a dashboard containing a panel with the following metric "100 * 100"
  2. Open a terminal session, verify that the current directory isn't empty
  3. Execute the script generate-dashboard-configmap-yaml.sh in order to export the dashboard created in the step 1
  4. Verify the yaml file containing the dashboard exported to a ConfigMap, the metrics "100 * 100" isn't present. The character "*" has been replaced with the file list of the current directory. This is a not expected behaviour
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

0 participants