Added more examples to docs

This commit is contained in:
tess1o
2024-07-09 22:57:32 +03:00
parent 76690631b4
commit 57928921d0
5 changed files with 15 additions and 1 deletions

View File

@@ -25,6 +25,9 @@ Other known to me projects use MQTT protocol to fetch the metrics, this implemen
5. Receive email with subject "Approval notice from EcoFlow Developer Platform". May take some time
6. Go to https://developer-eu.ecoflow.com/us/security and create new AccessKey and SecretKey
## Dashboard example
![img.png](docs/images/dashboard_example.png)
## How to run the Prometheus, Exporter and Grafana using docker-compose
See documentation here: [Prometheus](docs/prometheus.md)

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

View File

@@ -32,4 +32,8 @@
.env file to access Grafana. It is already configured with prometheus as the default datasource.
Navigate to Dashboards → Import dashboard → import ID `17812`, select the only existing Prometheus datasource.
(The Grafana dashboard was implemented
in https://github.com/berezhinskiy/ecoflow_exporter/tree/master/docker-compose)
in https://github.com/berezhinskiy/ecoflow_exporter/tree/master/docker-compose)
## Dashboard example
![img.png](images/dashboard_example.png)

View File

@@ -47,6 +47,10 @@ This can be useful when declaring variables in Grafana to fetch all devices you
![img.png](images/redis_datasource.png)
11. Create your dashboard.
## Dashboard example
![img.png](images/dashboard_example.png)
### Grafana dashboard tips
- I suggest to add new Variable "Device" to get the dropdown list of devices. Example:

View File

@@ -54,6 +54,9 @@ There is no cleanup procedure implemented at the moment, so you might want to cl
![timescaledb-datasource.png](images/timescaledb-datasource.png)
9. Create your dashboard (TODO: add example of a dashboard)
## Dashboard example
![img.png](images/dashboard_example.png)
## Tips how to fetch data from TimescaleDB
1. To fetch one metric you can use query like this: