A Grafana setup demonstrating dashboard creation and provisioning using grafana-jsx
.
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.
To start the Grafana instance run:
yarn start
This will:
- Build the dashboard JSON from JSX;
- Start Grafana (on port
3000
), Prometheus (on port9090
) and Node Exporter containers using Docker Compose; - Provision the datasource and dashboards for the Grafana instance;
To view the Grafana JSX Storybook dashboard, open http://localhost:3000 in a browser.
The dashboard JSX can be found under ./src/grafana/dashboards/.