Prometheus exporter for Fox ESS Cloud inverter metrics.
Metrics are by default exposed on http server running on port 9561
under the /metrics
path.
docker run \
--detach \
--env "INVERTERS=my-inverter-sn-1,my-inverter-sn-2" \
--env "API_TOKEN=my-foxess-api-token" \
--publish "9561:9561" \
--name "foxesscloud_exporter" \
jbub/foxesscloud_exporter
In order to provide default prometheus constant labels you can use the DEFAULT_LABELS
environment variable.
Labels can be set in this format instance=pg1 env=dev
. Provided labels will be added to all the metrics.