isaozler / grafana-shift-selector

The shift selector allows you to adjust the time range of your grafana dashboard to one specific shift or a range of shifts.
Apache License 2.0
6 stars 6 forks source link

Dynamic disable of Real-time shift auto-select #21

Open DasDepp opened 9 months ago

DasDepp commented 9 months ago

Hi community,

it would be nice to have the possibility to enable / disable the Real-time shift auto-select function by a variable or a shift selector ui element. Sometimes I would see my data for the current shift. But sometimes I would you the same dashboard with a specific time range from my data. Or is there may be already the possibility for the function?

BR Simon

isaozler commented 9 months ago

image

Hi @DasDepp,

You can turn off the real-time feature through the panel by turning off the "Real-time shift auto select" toggle.

Rephrasing the title and description text for that input could help understanding.

DasDepp commented 9 months ago

Hi @isaozler ,

thanks for your answer. I know that it´s possible to activate and deactivate the "Real-time shift auto select" function by the toggle in the item configuration. But I would be nice to activate and deactivate the "Real-time shift auto select" function in the dashboard UI (e.g. with a variable). So that the user don´t need to change the item configuration.

BR Simon

isaozler commented 9 months ago

Ah, I see! 👍