Skip to content

Commit

Permalink
fix: error in dasboard when exporting
Browse files Browse the repository at this point in the history
  • Loading branch information
APO-Axione committed Jan 16, 2023
1 parent 11c29cf commit 4bc3bae
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 87 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ If you would like to change which targets should be monitored, you can edit the
<br/>The `static_configs` section contains the IP addresses of the targets that should be monitored. Actually, they are sourced from the service names defined in the [docker-compose.yml](docker-compose.yml) file.
<br/>If you think that the `scrape_interval` value is too aggressive, you can change it to a more suitable value.

You must also create `data` directory and change the ownership of the `prometheus` and `grafana` folders for a nice and clean installation.
<br/>To do so, run the following commands:
```bash
mkdir -p prometheus/data grafana/data && \
sudo chown -R 472:472 grafana/ && \
sudo chown -R 65534:65534 prometheus/
```

Once you have made the necessary changes, simply clone this repository and start the stack by running the following command:
```bash
docker-compose up -d
Expand Down
2 changes: 1 addition & 1 deletion grafana/.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ GF_PATHS_HOME=/usr/share/grafana
GF_PATHS_LOGS=/var/log/grafana
GF_PATHS_PLUGINS=/var/lib/grafana/plugins
GF_PATHS_PROVISIONING=/etc/grafana/provisioning
GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/etc/grafana/provisioning/dashboards/Docker-Raspberry-PI-Monitoring.json
GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/etc/grafana/provisioning/dashboards/rpi-monitoring.json
Loading

0 comments on commit 4bc3bae

Please sign in to comment.