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

Grafonnet support #83

Open
Syndlex opened this issue Jul 1, 2024 · 4 comments
Open

Grafonnet support #83

Syndlex opened this issue Jul 1, 2024 · 4 comments

Comments

@Syndlex
Copy link

Syndlex commented Jul 1, 2024

It would be create if we could use Grafonnet to define Dashboards and view them Immediately in Grafana.
The current workflow with Grafonnet is very bulky.

  • Run Grafonnet into temp file
  • Click on temp file to Open UI
  • Make changes
  • Close window with this extension
  • Run Grafonnet into temp file
  • Click on temp file to Open UI

It would be great if the temp file could just reload and a integration into grafonnet would be even better.

@malcolmholmes
Copy link
Contributor

You can use a command such as entr do the execution of jsonnet when a file in a dir changes.

Also, do check the Grizzly server. Slightly more mature than this code.

@Syndlex
Copy link
Author

Syndlex commented Jul 3, 2024

The Problem is that when running entr the extension will not reload the view in Grafana.

Grizzly could be an option but is not as convenient as a hot-reload would be. I understand that that this Feature is probably very complex to implement for a very small user base.
But this would make creating Dashboards with jsonnet a breze.

IaC and Grafana is generally very immature.

@malcolmholmes
Copy link
Contributor

The Grizzly server will "hot reload" when you use grr serve -w.

@K-Phoen
Copy link
Member

K-Phoen commented Oct 17, 2024

We plan on integrating grizzly with this extension, which should help with supporting your use-case.

Leaving this issue open for now for tracking purposes.

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

3 participants