2016-03-02 01:39:18 -06:00
#Generic backend datasource#
2016-03-04 03:47:35 -06:00
More documentation about datasource plugins can be found in the [Docs ](https://github.com/grafana/grafana/blob/master/docs/sources/plugins/datasources.md )
2016-03-02 01:39:18 -06:00
2016-03-04 03:47:35 -06:00
Your backend need implement 4 urls
2016-03-02 01:39:18 -06:00
* "/" Should return 200 ok. Used for "Test connection" on the datasource config page.
* "/search" Used by the find metric options on the query tab in panels
* "/query" Should return metrics based on input
2016-03-04 03:47:35 -06:00
* "/annotations" should return annotations
2016-03-02 01:39:18 -06:00
## Example backend implementation ##
https://gist.github.com/bergquist/bc4aa5baface3cffa109