
Compare time-shifted queries and alerts across datasources, now with Grafana 13+ support
Hi guys,
I built **CompareQueries**, a Grafana datasource plugin for comparing time-shifted queries across datasources in one panel.
The latest version 2.1.0 supports Grafana 8.4~11, 12, and 13+. It is useful for workflows like:
- Time-shifted dashboard queries, eg. today vs yesterday dashboard data
- this week vs last week latency
- before vs after release error rates
- custom time-shifted comparisons in dashboards
- shifted comparison queries in Grafana Alerting
It works with Prometheus, Loki, Elasticsearch, SQL, CSV, and other Grafana datasources through their native query editors.
Time-Shifted alert for comparison:
Expression using Time-Shifted datasource plugin:
GitHub:
https://github.com/leoswing/comparequeries-datasource-rc
Grafana Plugin Catalog:
https://grafana.com/grafana/plugins/leoswing-comparequeries-datasource/
Feedback, dashboard examples, feature requests, and bug reports are very welcome.
If CompareQueries helps with your Grafana dashboards or alerting workflows, please consider giving the GitHub repo a ⭐ star so more users can discover it.