This example demonstrates how to build a basic app plugin using @grafana/scenes framework.
App plugins can let you create a custom out-of-the-box monitoring experience by custom pages, nested data sources, and panel plugins.
@grafana/scenes is a framework to enable versatile app plugins implementation. It provides an easy way to build apps that resemble Grafana dashboards, including template variables support, versatile layouts, panel rendering, and more.
To learn more about @grafana/scenes usage please refer to documentation
- An example of a simple scene. See Home scene
- An example of a scene with tabs. See Scene with tabs
- An example of a scene with drill down. See Scene with drill down
To run the plugin in development:
- Install dependencies (
npm install
) - Run the plugin (
npm run dev
) - Run Grafana with Docker compose (
docker compose up -d
) - Go to http://localhost:3000/a/myorg-scenes-app/.
For more details, refer to package.json
, docker-compose.yaml
, and the provisioning directory.