Documentation ¶
Overview ¶
Package keylightexporter implements a Prometheus exporter for Elgato Key Light devices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(reg *prometheus.Registry, f Fetcher) http.Handler
NewHandler returns an http.Handler that serves Prometheus metrics for Key Light devices. The Fetcher's Fetch method specifies how to connect to a device with the specified address on each HTTP request. If f is nil, a default HTTP fetcher will be used.
Each HTTP request must contain a "target" query parameter which indicates the network address of the device which should be scraped for metrics. If no port is specified, the Key Light device default of 9123 will be used.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
keylight_exporter
Command keylight_exporter implements a Prometheus exporter for Elgato Key Light devices.
|
Command keylight_exporter implements a Prometheus exporter for Elgato Key Light devices. |
Click to show internal directories.
Click to hide internal directories.