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

Import dashboard into a Grafana folder doesn't work #21

Closed
vitaliirymar opened this issue Oct 7, 2024 · 7 comments
Closed

Import dashboard into a Grafana folder doesn't work #21

vitaliirymar opened this issue Oct 7, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@vitaliirymar
Copy link
Contributor

Import dashboard into a Grafana folder always imports the dashboard into General (root path) folder.
grafana-import import -f test -i "Gatling Test Results.json" -o 2024-10-07 16:34:02,564 [grafana_import.cli ] INFO : Dashboard 'Gatling Test Results' imported into folder 'General'

image

@vrymar vrymar mentioned this issue Oct 7, 2024
@vrymar
Copy link
Contributor

vrymar commented Oct 14, 2024

Fixed by #22

@mostashkin
Copy link

@vrymar @amotl could you please advice when we can expect a release with this fix get published? 😊

@amotl
Copy link
Contributor

amotl commented Oct 15, 2024

Hi Mikhail. Thanks for your interest. I've just asked Vitalii to format code at #26 (comment), and will run a release right after this last patch from the series has been merged.

If he is busy or will not respond soon, I can easily also do the finishing, if you dearly need this feature to be available through a GA release.

In the meanwhile, you can use this command to install the package directly from the repository, which also works well as a dependency spec as long as you don't need to distribute your package on PyPI. That may support you already until a GA release has been published?

pip install 'grafana-import @ git+https://github.com/grafana-toolbox/grafana-import.git@main'

@vrymar
Copy link
Contributor

vrymar commented Oct 15, 2024 via email

@mostashkin
Copy link

@amotl @vrymar Thank you a lot!

Yep, as a workaround I'm installing it this way now:

pip install 'grafana-import@git+https://github.com/grafana-toolbox/grafana-import.git@aeece7367750ad20468e5a83bea4185b6394d2f7'

@amotl
Copy link
Contributor

amotl commented Oct 16, 2024

Hi. grafana-import v0.4.0 is on PyPI now. It includes all the recent contributions by @vrymar, thanks again.

@amotl amotl added the enhancement New feature or request label Oct 16, 2024
@vitaliirymar
Copy link
Contributor Author

Thank you @amotl for the super quick response and assistance!

@amotl amotl closed this as completed Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants