https://github.com/jbub/foxesscloud_exporter
Prometheus exporter for Fox ESS Cloud inverter metrics.
https://github.com/jbub/foxesscloud_exporter
foxess go prometheus-exporter
Last synced: about 1 month ago
JSON representation
Prometheus exporter for Fox ESS Cloud inverter metrics.
- Host: GitHub
- URL: https://github.com/jbub/foxesscloud_exporter
- Owner: jbub
- License: mit
- Created: 2024-10-05T16:42:21.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-10T14:56:59.000Z (over 1 year ago)
- Last Synced: 2024-11-10T15:37:15.380Z (over 1 year ago)
- Topics: foxess, go, prometheus-exporter
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fox ESS Cloud exporter
[][build]
[][hub]
[][goreportcard]
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.
```bash
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.
[build]: https://github.com/jbub/foxesscloud_exporter/actions/workflows/go.yml
[hub]: https://hub.docker.com/r/jbub/foxesscloud_exporter
[goreportcard]: https://goreportcard.com/report/github.com/jbub/foxesscloud_exporter