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 datasources 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's dashboarding experience, including template variables support, versatile layouts, panels rendering and more.
To learn more about @grafana/scenes usage please refer to Scenes getting started guide
- 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 (
yarn install
) - Run the plugin (
yarn dev
) - Run Grafana with docker compose (
docker compose up -d
) - Navigate to http://localhost:3001/a/grafana-scenes-app/
For more details, checkout package.json
, docker-compose.yaml
, and the provisioning directory.