Skip to content

grafana/grafana-starter-panel

⚠️ Deprecated!

This repository is deprecated.
A more up-to-date version of panel plugin examples is available here: https://github.com/grafana/grafana-plugin-examples#panel-plugins

Examples:

  • panel-basic - demonstrates how to build a panel plugin that uses the time series graph
  • panel-flot - demonstrates how to use the Flot plotting library in a panel plugin.
  • panel-plotly - demonstrates how to use the Plotly graphing library in a panel plugin.

Grafana Panel Plugin Template

Build

This template is a starting point for building Grafana Panel Plugins in Grafana 7.0+

What is Grafana Panel Plugin?

Panels are the building blocks of Grafana. They allow you to visualize data in different ways. While Grafana has several types of panels already built-in, you can also build your own panel, to add support for other visualizations.

For more information about panels, refer to the documentation on Panels

Getting started

  1. Install dependencies

    yarn install
  2. Build plugin in development mode or run in watch mode

    yarn dev

    or

    yarn watch
  3. Build plugin in production mode

    yarn build

Learn more