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

Importing playlists #83

Closed
lanmarti opened this issue Feb 19, 2020 · 2 comments
Closed

Importing playlists #83

lanmarti opened this issue Feb 19, 2020 · 2 comments

Comments

@lanmarti
Copy link

Is there a way to import playlists similar to how dashboards are imported through .json files, or are there any plans to provide such a way in the future?

I've tried looking around on how to persist playlists for a stateless Grafana deployment, but it seems that from Grafana's side importing and exporting playlists is rather limited. The only decent documentation I've found so far is by use of the HTTP API: https://grafana.com/docs/grafana/latest/http_api/playlist/#create-a-playlist
The API is very straightforward and provides a (temporary) workaround for me, but being able to import playlists through jsonnet patches would streamline the deployment process.

@brancz
Copy link
Owner

brancz commented Feb 19, 2020

I'm not aware of such a thing, that's probably something we first want to discuss with the Grafana team themselves first.

@lanmarti
Copy link
Author

I found a discussion issue grafana/grafana#11842 as well as a refused PR grafana/grafana#19040

Quote from the comments on the PR:

We're not saying that we don't want to support provisioning of everything, we're just saying that right now adding additional provisioning support in same way as existing dashboards, data sources and alert notification channels adds quite a big impact on core implementation What's lacking is more proper API's internally to make provisioning a first class citizen in the code base, but without affecting any bits in the core (domain).

I'll close this issue for now, as it seems provisioning playlists won't be supported in the near future.

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

2 participants