Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.19 KB

README.md

File metadata and controls

37 lines (22 loc) · 1.19 KB

grafana-jsx-storybook

A Grafana setup demonstrating dashboard creation and provisioning using grafana-jsx.

Contents

Prerequisites

This setup uses Docker Compose and therefore you will need to have installed both Docker and Docker Compose before you can launch the Grafana JSX Storybook.

Usage

To start the Grafana instance run:

yarn start

This will:

  1. Build the dashboard JSON from JSX;
  2. Start Grafana (on port 3000), Prometheus (on port 9090) and Node Exporter containers using Docker Compose;
  3. Provision the datasource and dashboards for the Grafana instance;

To view the Grafana JSX Storybook dashboard, open http://localhost:3000 in a browser.

Dashboard JSX

The dashboard JSX can be found under ./src/grafana/dashboards/.