grafana / scenes-ml

Machine Learning extensions to Grafana Scenes
Apache License 2.0
10 stars 1 forks source link

Gracefully handle non time-series panels #5

Open sd2k opened 5 months ago

sd2k commented 5 months ago

The ML components will only really work in specific panel types (e.g. time-series, but possibly some others). Is there a way we can ensure we're only running queries if the current panel type is a time series panel?

sd2k commented 5 months ago

There's a pretty good chance this isn't really doable and we should just strongly encourage people to use setHeaderActions rather than controls for our components.