Skip to content

Prometheus exporter for Fox ESS Cloud inverter metrics.

License

Notifications You must be signed in to change notification settings

jbub/foxesscloud_exporter

Repository files navigation

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.