https://github.com/lupodharkael/arest_exporter
Exporter which retrieves stats from aREST and exports them via HTTP for Prometheus consumption
https://github.com/lupodharkael/arest_exporter
arduino prometheus-exporter rest-api
Last synced: 6 months ago
JSON representation
Exporter which retrieves stats from aREST and exports them via HTTP for Prometheus consumption
- Host: GitHub
- URL: https://github.com/lupodharkael/arest_exporter
- Owner: lupoDharkael
- License: gpl-3.0
- Created: 2017-03-26T16:22:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-11T21:57:17.000Z (about 9 years ago)
- Last Synced: 2025-06-16T23:35:38.020Z (about 1 year ago)
- Topics: arduino, prometheus-exporter, rest-api
- Language: Go
- Homepage:
- Size: 1.25 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aREST exporter
Exporter which retrieves stats from [aREST](https://github.com/marcoschwartz/aREST) and exports them via HTTP for Prometheus consumption.
In the actual version it only exports the variables (name and value) and the hardware of the target.
## Getting Started
To run it:
```bash
./arest_exporter [flags]
```
You must define the targets, you can do it via flag or from a file.
Flag (with CSV formated values):
```bash
./arest_exporter -config.targets="192.168.0.100,192.168.0.190" [flags]
```
File:
```bash
./arest_exporter -config.file="path/to/file.csv" [flags]
```
Help on flags:
```bash
./arest_exporter --help`
```
### General information
- Default listen address :9009
- If you define both (from file and from tags), the file will overwrite the configuration.