- Docker installed (or similar e.g. Rancher, Colima, Podman)
- Internet access
Execute: docker compose up
Now open http://localhost:3000
To terminate, execute: docker compose down -v
See https://sensordata-dashboard.mindloops.io
- Ensure the application is running locally and accessible at http://localhost:3000.
- Open the application in your browser and sign in using the admin account (admin / admin) via the "Sign In" button in the top-right corner.
- You may skip changing the password — it will automatically revert to the default (admin / admin) upon dashboard restart.
- Verify that your changes are persisted by stopping the application with
docker compose down -v, then restarting it usingdocker compose up. Once the application is running, check whether your changes are still present. - Commit/Push the changed files to your repository.
- Make your changes to one of the dashboards — for example, add a description to "Details sensordata" by opening the dashboard, clicking Edit, and entering text in the Description field.
- To save your changes, click the Save dashboard button in the top-right corner.
- Then click Copy JSON to clipboard, and replace the contents of the corresponding dashboard file under /dashboards. For this example, update the file: dashboard-details.json.
- Use version control to verify that the changes compared to the previous version are as expected.
- Navigate to the Connections section in Grafana.
- Open the Data sources page.
- Select the datasource you want to modify — for example, the RIVM Samen Meten API.
- Update the desired configuration property. For instance, at URL, Headers & Params, enable Allow dangerous HTTP methods.
- To proceed, click on the Main section.
- Then select Provisioning Script to view the YAML representation of the datasource configuration.
- Copy the relevant updated property and paste it into the corresponding datasource entry in the file datasource.yaml.
- Navigate to the panel you want to edit — for example, the first panel in Details sensordata.
- Click the three vertical dots in the top-right corner of the panel, then select Edit.
- On the Edit panel page, you’ll find many configuration options. In our experience, most of these are well-documented. Additionally, AI tools like ChatGPT, Claude.. can often provide helpful explanations and guidance.
- In the Queries section, configure the URL query to be executed. For example:
/Datastreams(${datastreams:text})/Observations
This path will be prefixed by theurlproperty of the datasource defined in datasource.yaml. - In the Headers, Request params section, you can provide additional options for the API call — such as sorting the entries in the response.
- In the Parsing options & Result fields section, you can map the JSON response to fields used in the graph. For example:
value.phenomenonTime. - To save your changes, click the Save dashboard button in the top-right corner.
- Then click Copy JSON to clipboard, and overwrite the contents of the corresponding dashboard file under
/dashboards.
For this example, update the file: dashboard-details.json. - Use version control to verify that the changes compared to the previous version are as expected.