How grafana/grafana-plugin-examples works
This repository is a catalog of Grafana plugin examples, not a shared runtime library. The principal workflow is for a plugin developer to choose an example matching a plugin type and use it as a starting point. The README documents app, panel, and data source examples, including backend variants and the panel’s time-range behavior. Source excerpts were not provided, so the graph reflects documented capabilities and tree-supported paths; it does not infer internal calls between example modules.
Main entry points: app-with-backend App with backend · panel-basic Basic panel · datasource-with-backend Data source with backend · app-basic Basic app
Components 9
App plugins
- Basic app
examples/app-basic - App with backend
examples/app-with-backend
Panel plugins
- Basic panel
examples/panel-basic
Data source plugins
- Basic data source
examples/datasource-basic - Data source with backend
examples/datasource-with-backend
Backend components
- App backend
examples/app-with-backend/pkg/plugin/app.go - Data source backend
examples/datasource-with-backend/pkg/plugin/datasource.go
Other components
- Plugin developer
- Grafana time range
Connections 8
- Plugin developer → Basic app: chooses example
README.md - Plugin developer → App with backend: chooses example
README.md - Plugin developer → Basic panel: chooses example
README.md - Plugin developer → Basic data source: chooses example
README.md - Plugin developer → Data source with backend: chooses example
README.md - App with backend → App backend: includes backend
README.md - Data source with backend → Data source backend: includes backend
README.md - Basic panel → Grafana time range: reads and updates range
README.md