Custom grafana datasource plugin to wrap external REST API

udarakr picture udarakr · Sep 21, 2016 · Viewed 18.6k times · Source

I'm trying to figure out a way to create a data-source plugin which can communicate with an external REST API and provide relevant data to draw a panel.

Anyone with previous experience?

Answer

AussieDan picture AussieDan · Sep 21, 2016

The Simple JSON Datasource does roughly what you're proposing, and would definitely be a good base for you to start from.

There is also documentation on datasource plugins available.