Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 12 days ago
JSON representation

Simple Prometheus relay exporter written in Go for scraping applications in isolated networks.

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 for the project:
```
git checkout vX.Y.Z
docker buildx build -t ghcr.io/hhromic/promrelay-exporter:vX.Y.Z .
```

> **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).