[Feature Request]: Grr Serve - Ability to filter resources
Closed this issue · 5 comments
Feature Request
I am using grizzly as part of a terraform project. IaC is managed through terraform, but I want to use grizzly to edit my dashboards as it provides a UI to do so.
As there are non-grafana resources in my projects directory, when I run grr serve .
from the root of the project's directory, I get an error in the web ui warning about a bunch of unrecognized files:
unrecognized format for .git/HEAD
unrecognized format for .git/config
unrecognized format for .git/description
unrecognized format for .git/hooks/applypatch-msg.sample
unrecognized format for .git/hooks/commit-msg.sample
unrecognized format for .git/hooks/fsmonitor-watchman.sample
unrecognized format for .git/hooks/post-update.sample
...
I would like to be able to silence these errors, or provide some sort of filter to pick up dashboards / resources from a particular subdirectory with a particular extension, for example: dashboards/**/*.json
and ignore everything else.
you get an error in the web UI, or the Grizzly server console? Surely the latter. How do these warnings cause you a problem? I assume most people won't pay much attention to the console when using grr serve
.
The errors are in the Web UI.
Can you paste a screenshot? I don't recall them making it to the web UI, so would be useful to see it.
Ahhh! So not on a Grafana page, but on the "index" page. That makes sense now, thanks!