Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdlayher/keylight_exporter
Command keylight_exporter implements a Prometheus exporter for Elgato Key Light devices. MIT Licensed.
https://github.com/mdlayher/keylight_exporter
Last synced: about 1 month ago
JSON representation
Command keylight_exporter implements a Prometheus exporter for Elgato Key Light devices. MIT Licensed.
- Host: GitHub
- URL: https://github.com/mdlayher/keylight_exporter
- Owner: mdlayher
- License: mit
- Created: 2020-05-28T16:12:49.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-20T15:23:30.000Z (almost 2 years ago)
- Last Synced: 2024-06-20T15:54:13.720Z (5 months ago)
- Language: Go
- Size: 37.1 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# keylight_exporter [![Linux Test Status](https://github.com/mdlayher/keylight_exporter/workflows/Linux%20Test/badge.svg)](https://github.com/mdlayher/keylight_exporter/actions) [![Go Report Card](https://goreportcard.com/badge/github.com/mdlayher/keylight_exporter)](https://goreportcard.com/report/github.com/mdlayher/keylight_exporter)
Command `keylight_exporter` implements a Prometheus exporter for Elgato Key
Light devices. MIT Licensed.## Configuration
The `keylight_exporter`'s Prometheus scrape configuration (`prometheus.yml`) is
configured in a similar way to the official Prometheus
[`blackbox_exporter`](https://github.com/prometheus/blackbox_exporter).The `targets` list under `static_configs` should specify the addresses of any
keylight devices which should be monitored by the exporter. The address of
the `keylight_exporter` itself must be specified in `relabel_configs` as well.```yaml
scrape_configs:
- job_name: 'keylight'
static_configs:
- targets:
- '192.168.1.10' # keylight device.
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: '127.0.0.1:9288' # keylight_exporter.
```