grafana / clock-panel

Clock Panel Plugin for Grafana
MIT License
95 stars 61 forks source link

[Enhancement] Allow additional timer after primary has run through #176

Open clarityam opened 7 months ago

clarityam commented 7 months ago

Hello there!

As it currently stands, I utilize a Dashboard Variable from an API to countdown until a specific event start time. However, it would be great to be able to create another instance of the same countdown time (counting down from time til zero) using a different Dashboard Variable.

Essentially, once the primary countdown ends, you could use something similar to the 'End Text' with another variable to start the new countdown

Application: Stream Dashboard for a church, the dashboard currently does a countdown til the service starts, and ideally, an additional countdown until the end of the service until it goes back to the original variable at the end of that service.

Thank you!

Humbarrt commented 2 months ago

Hi, with a little trickery this is actually already possible. You can use the static plugin to generate the next event after the first ran out. This way you can have an infinite event queue. Have a look at my answer here: https://github.com/grafana/clock-panel/issues/163#issuecomment-2149581465

Cheers!