grafana / scenes

Build Grafana dashboards directly in your Grafana app plugins.
https://grafana.com/developers/scenes
Apache License 2.0
133 stars 20 forks source link

Filters/GroupBy: Resolve queries only from active query runners #685

Closed dprokop closed 5 months ago

dprokop commented 5 months ago

This addresses a problem with getTagValues being called with queries from all runners in a scene, including inactive ones.

This is problematic i.e. in a panel edit scenario in Grafana core. When one goes to panel edit all other panels are de-activated, but getTagValues for filters would still be executed with queries from runners of those inactive panels.

📦 Published PR as canary version: 4.5.7--canary.685.8631031033.0
:sparkles: Test out this PR locally via: ```bash npm install @grafana/scenes@4.5.7--canary.685.8631031033.0 # or yarn add @grafana/scenes@4.5.7--canary.685.8631031033.0 ```
grafanabot commented 5 months ago

:rocket: PR was released in v4.5.7 :rocket: