Skip to content

Commit c120c2e

Browse files
authored
Update README.md
1 parent 634cbde commit c120c2e

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Edge Device (e.g. raspberry pi) Monitoring by means of composite docker application on [Balena OS](https://www.balena.io/os/).
1+
# Edge device (e.g. raspberry pi) monitoring by means of composite docker application on [Balena OS](https://www.balena.io/os/).
22

3-
This composite docker application monitors the system resources of the device where it is deployed on. This application can be deployed through [BalenaCloud](https://www.balena.io/) on any arm device (e.g. a raspberry pi) running the [balena OS](https://www.balena.io/os/).
3+
This repository describes a composite docker application that monitors the system resources of the device where it is deployed on. This application can be deployed through [BalenaCloud](https://www.balena.io/) on any arm device (e.g. a raspberry pi) running the [balena OS](https://www.balena.io/os/).
44

55
It consists of the following three docker containers (= TIG stack)
66

@@ -10,14 +10,16 @@ It consists of the following three docker containers (= TIG stack)
1010

1111
The Grafana user interface can be accessed (login and password is `admin`) at port 80 of the host OS. This also means that you can access it through the `public device URL` that you can find in your [BalenaCloud](https://www.balena.io/) dashboard. In other words you can access your Grafana dashboards wherever you have internet access !
1212

13-
Here below a screenshot of the dashboard that is also provisioned by this application ( file is `grafana\dashboards\system metrics.json`)
13+
Here below a screenshot of the `system metrics` dashboard that is also provisioned by this application ( file is `grafana\dashboards\system metrics.json`)
1414

1515
![system metrics example](./system_metrics_dashboard.png)
1616

17-
## Provisioning Grafana Dashboards
17+
## Updating / Adding new Grafana Dashboards
1818

19-
If you want to add or update a Grafana Dashboard then this can be done through following steps:
19+
If you want to add a new Grafana Dashboard then this can be done through following steps (Updating happens in a similar way):
2020

21-
1. Create (or Update) the dashboard in Grafana
22-
2. From the settings menu in Grafana select `View JSON` and copy the complete json file
23-
3. Create a file with extension `.json` in folder `grafana\dashboards` and ....
21+
1. Create the dashboard in Grafana
22+
2. From the settings menu in Grafana select `View JSON` and copy the complete json file (**don't use the grafana `export` feature** as this will template the datasource and will not work due to that).
23+
3. Create a file with extension `.json` in folder `grafana\dashboards` and paste the json contents you have copied in previous step into this file.
24+
4. Changes replace the ID number by null. E.g. ` "id": 1,` should be changed into ` "id": null,`
25+
5. Commit your changes and push them to Balena Cloud.

0 commit comments

Comments
 (0)