r/grafana • • 1d ago

Grafana Apache drill data source

I know it’s a niche product but here is a data source plugin for Apache drill in case anyone else wants to try it: https://github.com/Sam-H101/grafana-drill-datasource

6 Upvotes

1 comment sorted by

1

u/MongooseWonderful198 18h ago

Could you add a cancellation-failure test where /query.json times out and /profiles.json returns 503? In Query(), the timeout path discards the error from cancelByTag() and returns ErrCanceled, so the caller loses that failure.

Your REST notes correctly point out that closing the HTTP connection doesn't stop the Drill query. Surfacing an unsuccessful cancellation separately would help someone notice a query that may still be consuming resources after Grafana stops waiting. I've inspected the source, but haven't run the plugin.