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

[Feature request] playlist provisioning #11842

Open
tk3fftk opened this issue May 7, 2018 · 15 comments
Open

[Feature request] playlist provisioning #11842

tk3fftk opened this issue May 7, 2018 · 15 comments

Comments

@tk3fftk
Copy link

tk3fftk commented May 7, 2018

I'm using the feature of provisioning dashboards and datasources. These are good for deploying to kubernetes. I want to use provisioning playlist too 😄

@owenbattye
Copy link

I do would love this, its more important to me that provisioning users. I now have everything else I use provisioned and just recreate a docker container to host grafana. If I had playlists provisioned I'd have nothing to recreate by hand every time.

@asiekkowa
Copy link

Is there any possibility of that feature? It would be great have definition of playlist as a code.
I want to configure everything in Grafana in GitOps way and feature of Playlist as config file is really needed.

@Ofinka
Copy link

Ofinka commented Mar 6, 2019

Hi, I would be grateful for integration of this feature as well. It is quite annoying to create the playlist again with every redeployment.

@juliadenker1981
Copy link

Hi, I am provisioning dashboards and datasources and would really need to provision playlists as well!
The feature is really needed!

@ThinkBriK
Copy link

Same here, we're using playlists to create views for Raspberries plgged to TVs !

@jfcabral
Copy link

I too believe this would be very useful :)
Otherwise we end up with nasty workarounds... :/

@olivierlemasle
Copy link
Contributor

Hi, I'd like to contribute this feature.

However, there's currently two missing points:

  • Playlists have no unique identifier (except internal id). You can have multiple playlists with the same name, even if a single organization. In order to be able to mimic the provisioning of datasources or notifiers, adding a uid would be necessary.
  • In a playlist, referencing a dashboard uses either dashboard_by_id or dashboard_by_tag. I suppose that if dashboards are configured using provisioning, adding a dashboard_by_uid would be more useful.

Any thoughts?

@joangaborit
Copy link

Hi,

I would like to know when the functionality of provisioning grafana playlists through github?
We are working in infra as code and this is a feature that could help us a lot.

Thank you for your answer.

@olivierlemasle
Copy link
Contributor

@joangaborit I did contribute a Pull Request for provisioning grafana playlists (#19040), but it was refused and closed (see comments)
It does not seem it will be implemented anytime soon!

@andothomas
Copy link

Not sure if this is the best place to ask this question, but is there a timeline for creating playlists under the Playlist API with support for providing a UID? This is the only obstacle in writing a workaround provisioning script. Currently (while not explicitly supported), providing a UID duplicates the playlist with a new UID, which is not the desired behavior for those who would like to provide one.

Copy link
Contributor

This issue has been automatically marked as stale because it has not had activity in the last year. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

@github-actions github-actions bot added the stale Issue with no recent activity label Jan 19, 2024
@kenske
Copy link

kenske commented Jan 19, 2024

This is still relevant. We are using an external script to create the playlists as a workaround, but it would be nice to use the same mechanism as dashboards.

@github-actions github-actions bot removed the stale Issue with no recent activity label Jan 20, 2024
@jfcabral
Copy link

This is still relevant. We are using an external script to create the playlists as a workaround, but it would be nice to use the same mechanism as dashboards.

Same here, it is a shame to see this not being implemented after so many years. Specially after @olivierlemasle making a contribution to add that. 😕

@schroedermatthias
Copy link

schroedermatthias commented Jan 31, 2024

This is still relevant. We are using an external script to create the playlists as a workaround, but it would be nice to use the same mechanism as dashboards.

@kenske Would you mind providing your script? Maybe this could be helpful also for others :)

@kenske
Copy link

kenske commented Jan 31, 2024

Here is my workaround script:

https://gist.github.com/kenske/d10f34de0e63e4cf2efa225724baef20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🗂️ Needs Triage / Escalation
Development

Successfully merging a pull request may close this issue.