Skip to content

hhromic/promrelay-exporter

Repository files navigation

Prometheus Relay Exporter

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

This exporter uses the multi-target exporter pattern described in the Prometheus documentation.

The motivating use case for this project can be found here.

Usage

Usage examples can be found in the 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.

To build a snapshot locally Using GoReleaser:

goreleaser build --clean --single-target --output promrelay-exporter --snapshot

License

This project is licensed under the Apache License Version 2.0.