Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.18 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.18 KB

Fox ESS Cloud exporter

Build Status Docker Pulls Go Report Card

Prometheus exporter for Fox ESS Cloud inverter metrics.

Docker

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

Default constant prometheus labels

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.