Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chappio/youless-prometheus
Expose metrics from your YouLess LS120 in the prometheus format
https://github.com/chappio/youless-prometheus
Last synced: 16 days ago
JSON representation
Expose metrics from your YouLess LS120 in the prometheus format
- Host: GitHub
- URL: https://github.com/chappio/youless-prometheus
- Owner: ChappIO
- Created: 2021-04-10T06:54:06.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-10T08:03:59.000Z (over 3 years ago)
- Last Synced: 2024-10-30T10:47:41.708Z (2 months ago)
- Language: Go
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YouLess LS120 Prometheus Bridge
This project exposes LS120 metrics in the prometheus text format, so it can be imported by influxdb 2.0 or prometheus.
## Usage
For these commands I am assuming that your YouLess LS120 has the following address: http://192.168.1.12
Docker CLI:
```bash
docker run --publish 80:80 chappio/youless-prometheus http://192.168.1.12
```Docker Compose:
```yml
version: '3.6'services:
youless:
image: chappio/youless-prometheus
ports:
- 80:80
command: http://192.168.1.12
```Now the bridge is listening to all HTTP requests on http://localhost. You can now point InfluxDB 2.0 or Prometheus at this bridge.
Assuming your bridge IP is 192.168.1.10:
![InfluxDB 2.0 Screenshot](screenshot.png)