https://github.com/lucab/local_exporter
Prometheus exporter/bridge for local services
https://github.com/lucab/local_exporter
Last synced: 3 months ago
JSON representation
Prometheus exporter/bridge for local services
- Host: GitHub
- URL: https://github.com/lucab/local_exporter
- Owner: lucab
- License: apache-2.0
- Created: 2019-06-07T10:16:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-27T19:22:17.000Z (over 2 years ago)
- Last Synced: 2025-03-28T01:43:29.572Z (3 months ago)
- Language: Go
- Homepage: https://quay.io/lucab/local_exporter
- Size: 1.21 MB
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# local\_exporter
[](https://travis-ci.com/lucab/local_exporter)
[](https://quay.io/repository/lucab/local_exporter)`local-exporter` bridges between Prometheus and instrumented on-host daemons that do not expose a web-server on their own.
It is meant to run as an unpriviliged container with few bind-mounts, and can bridge to multiple local endpoints:
* plain metrics textfile
* Unix-domain socket
* DBus methodFor more information and background details, see the [design doc](docs/design.md).
## Quickstart
```
go get -u -v github.com/lucab/local_exporter && local_exporter serve --help
```A TOML configuration sample (with comments) is available under [examples](dist/examples/).
An automatically built `x86_64` container image is available on [quay.io](https://quay.io/repository/lucab/local_exporter) and can be run as:
```
docker run -p 9598:9598/tcp -v "$PWD/dist/examples/config.toml:/etc/local_exporter/config.toml" -v /run:/host/run quay.io/lucab/local_exporter:master local_exporter serve -vv
```## Demo
[](https://asciinema.org/a/256453)