Druid datasource plugin provides a support for Druid as a backend datasource via opentsdb protocol v2.2.
Install from grafana.net
OR
Copy files to your Grafana plugin directory. Restart Grafana, check datasources list at http://your.grafana.instance/datasources/new, choose Opentsdb-druid option.
Page configuration is standard
the url is like http://localhost:8082/opentsdb/flink_metrics
the flink_metrics
is the backend druid datasource base name
Query setup interface:
The interface is based on the build-in grafana opentsdb data source, and with 4 differences:
- remove downsample interval
- add line limit options
- add granularity to route to different backend druid datasource for different granularity
- automatically get tag list related to the specified metric
Use NPM managers:
npm install
and then
grunt
If you have any idea for an improvement or found a bug do not hesitate to open an issue or submit a pull request. We will appreciate any help from the community which will make working with such amazing products as Druid and Grafana more convenient.
GPL V3 License, please see LICENSE for details. Please share your modification to make improve this plugin