Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.45 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.45 KB

Grafana Scenes App Plugin Demos

What are Grafana app plugins?

App plugins can let you create a custom out-of-the-box monitoring experience by custom pages, nested datasources and panel plugins.

What is @grafana/scenes

@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 please refer to Scenes documentation

How to run this app?

Using provided docker compose

  1. From Grafana Scenes root directory run yarn install
  2. From Grafana Scenes root directory run ./scripts/demo.sh
  3. Navigate to http://localhost:3001/a/grafana-scenes-app

Using local Grafana instance

  1. Modify Grafana config to load demo app plugin, i.e.

    # Grafana custom.ini
    [plugin.grafana-scenes-app]
    path=<your-path>/grafana-scenes/packages/scenes-app
  2. Use provided datasource provisioning file to setup required data source.

  3. From packages/scenes-app run yarn dev

  4. Navigate to http://localhost:3000/a/grafana-scenes-app/

For more details, checkout package.json, docker-compose.yaml, and the provisioning directory.