leoswing / comparequeries-datasource-rc

Grafana plugin for compare queries, with React support
Apache License 2.0
53 stars 0 forks source link

Ad-Hoc Filter Not Working with Compare Queries Plugin #17

Open beyzacevik opened 9 hours ago

beyzacevik commented 9 hours ago

What happened?

Hello @leoswing,

Description: There is an issue with the ad-hoc filtering functionality in Grafana when used with the Compare Queries plugin. While variable-based filters work correctly across the dashboard, using the 'Select Custom Filter' feature in Grafana causes compare queries panels to fail. Notably, panels that do not utilize the Compare Queries plugin still function as expected with the same filter.

Additional Notes: The issue appears to be isolated to the Compare Queries plugin when interacting with Grafana's ad-hoc filter system. Variable filters remain unaffected and function as expected across all panels.

I assume this issue may be related to compatibility between the plugin and the ad-hoc filter system. Do you have any idea on this?

Screenshot 2024-11-22 141619

What did you expect to happen?

Expected Behavior:

Did this work before?

-

How do we reproduce it?

Steps to Reproduce:

Environment (with versions)?

Environment: Grafana Version: Grafana v11.3.0-pre Compare Queries Plugin Version: leoswing-comparequeries-datasource-2.0.2

Grafana platform?

None