@Greptime: Same SQL in a panel and in an alert rule. That didn't work before. Grafana evaluates alert rules on the server, where a…

X AI KOLs Timeline Tools

Summary

GreptimeDB's Grafana plugin has been upgraded to v3.0.3, adding a Go backend to enable SQL macro interpolation in alert rules, allowing consistent queries in both panels and alerts.

Same SQL in a panel and in an alert rule. That didn't work before. Grafana evaluates alert rules on the server, where a frontend-only plugin's macro interpolation never runs. So GreptimeDB panel queries were dashboard-only, no matter how correct they were. The plugin now ships a Go backend. Macros are parsed and expanded server-side: $__timeFilter(col) → col >= <from> AND col <= <to> $__timeInterval(col) → date_bin(<interval>, col) Same query, panel or alert condition. Existing dashboards are unaffected; the plugin runs a backend process now, so restart Grafana after upgrading. v3.0.3: https://greptime.com/blogs/2026-08-20-greptimedb-grafana-plugin-backend-upgrade…
Original Article
View Cached Full Text

Cached at: 08/20/26, 12:55 PM

Same SQL in a panel and in an alert rule. That didn’t work before.

Grafana evaluates alert rules on the server, where a frontend-only plugin’s macro interpolation never runs. So GreptimeDB panel queries were dashboard-only, no matter how correct they were.

The plugin now ships a Go backend. Macros are parsed and expanded server-side:

$__timeFilter(col) → col >= AND col <= $__timeInterval(col) → date_bin(, col)

Same query, panel or alert condition. Existing dashboards are unaffected; the plugin runs a backend process now, so restart Grafana after upgrading.

v3.0.3: https://greptime.com/blogs/2026-08-20-greptimedb-grafana-plugin-backend-upgrade…

Similar Articles

grafana/grafana

GitHub Trending (daily)

Grafana is an open-source platform for monitoring and observability, allowing users to query, visualize, alert on, and understand metrics from various data sources.