Skip to content

nik-johnson-net/prometheus-envoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enphase Envoy Golang Client

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

Example

  - 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.

Building and running

cd cmd/prometheus-envoy
go build
./prometheus-envoy -port 2112

License

This library is provided under the MIT License

About

Prometheus collector for Enphase Envoy units

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published