Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create own plugin for Grafana

I just started with grafana and would like to try to develop my own plugin to use it beside Graph, Singlestat, Dashlist, and Text panels. I found only these links about that :
http://docs.grafana.org/plugins/panels/,
https://grafana.net/resources/getting-started-with-plugins
Is anybody have ideas which environment could be used for developing grafana plugin and from where possible to start?
Thank you

like image 873
Andrey Avatar asked Aug 30 '16 13:08

Andrey


People also ask

Can we customize Grafana dashboard?

Overview. The platform includes a pre-deployed version of the open-source Grafana analytics and monitoring platform. For detailed information about working with Grafana, see the Grafana documentation. Grafana allows the creation of custom web dashboards that visualize real-time data queries.

What are plugins in Grafana?

Panel plugins allow you to add new types of visualizations to your dashboard, such as maps, clocks, pie charts, lists, and more. Use panel plugins when you want to do things like visualize data returned by data source queries, navigate between dashboards, or control external systems (such as smart home devices).

How do you make Grafana from source?

Download GrafanaOpen a terminal and run git clone https://github.com/grafana/grafana.git . This command downloads Grafana to a new grafana directory in your current directory. Open the grafana directory in your favorite code editor.


1 Answers

There is a detailed walkthrough of the creation of the Clock panel plugin available on the grafana blog: Part 1 & Part 2

That's definitely a good place to start. As far an an environment, you'll obviously need a grafana instance, and you'll also need node & npm to be able to run the grunt-based build process.

Part 1 of the walkthrough should have enough detail to get you started, there is also a pretty active community on the grafana irc and slack channels who can help with specific questions.

like image 106
AussieDan Avatar answered Sep 28 '22 23:09

AussieDan