Closed sinist3rr closed 3 months ago
Hello,
Yes, you need to enable exporting the metrics to one (or many) of the systems: Prometheus, TimescaleDB, Redis.
To enable it for Prometheus (probably the default choice) in .env variable change PROMETHUS_ENABLED to true. By default it's disabled.
For Prometheus please check the documentation, it describes what mandatory parameters you need to set and how to run everything via docker compose:
https://github.com/tess1o/go-ecoflow-exporter/blob/main/docs/prometheus.md
I think I figured it out. The point is that the PROMETHEUS_ENABLED: ${PROMETHEUS_ENABLED} has been added to exporter-local-compose.yml. But it is not present in the exporter-remote-compose.yml. So the variable from the env file was simply not used. Now the container works. Thanks.
You are right, I've fixed the issue.
Hi! I tried to run the docker container but got an error.
Maybe I need to enable something else? Any clues?