This is a prometheus collector for pulling metrics from an Envoy Enphase unit. The collector utilizes the local interface exposed by the device rather than the Enlighten API. Enphase units are embedded devices, so the collector is implemented as a proxy collector similar to the snmp_exporter tool.
https://enphase.com/en-us/support/what-envoy
- job_name: 'prometheus-envoy'
static_configs:
- targets:
- '192.168.1.40'
- '192.168.1.41'
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:2112 # The prometheus-smarthome's real hostname:port.
cd cmd/prometheus-envoy
go build
./prometheus-envoy -port 2112
This library is provided under the MIT License