https://github.com/hhromic/promrelay-exporter
Simple Prometheus relay exporter written in Go for scraping applications in isolated networks.
https://github.com/hhromic/promrelay-exporter
docker docker-compose docker-image docker-swarm exporter golang isolation monitoring prometheus relay
Last synced: about 1 year ago
JSON representation
Simple Prometheus relay exporter written in Go for scraping applications in isolated networks.
- Host: GitHub
- URL: https://github.com/hhromic/promrelay-exporter
- Owner: hhromic
- License: apache-2.0
- Created: 2021-07-03T01:52:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-05T19:16:02.000Z (over 1 year ago)
- Last Synced: 2025-04-14T06:08:39.965Z (about 1 year ago)
- Topics: docker, docker-compose, docker-image, docker-swarm, exporter, golang, isolation, monitoring, prometheus, relay
- Language: Go
- Homepage:
- Size: 195 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prometheus Relay Exporter
Simple [Prometheus](https://prometheus.io/) relay exporter written in [Go](https://go.dev/) for
scraping applications in isolated networks.
This exporter uses the [multi-target exporter pattern](https://prometheus.io/docs/guides/multi-target-exporter/)
described in the Prometheus documentation.
The motivating use case for this project can be found [here](use-case.md).
## Usage
Usage examples can be found in the [`examples/`](examples/) directory.
## Building
To build a release Docker image, use [Docker Build Bake](https://docs.docker.com/build/bake/):
```
git checkout vX.Y.Z
TAG=vX.Y.Z docker buildx bake
```
> [!NOTE]
> Ready-to-use images are available in the
> [GitHub Container Registry](https://github.com/users/hhromic/packages/container/package/promrelay-exporter).
To build a snapshot locally Using [GoReleaser](https://goreleaser.com/):
```
goreleaser build --clean --single-target --snapshot
```
## License
This project is licensed under the [Apache License Version 2.0](LICENSE).