This repo holds a lightweight all-in-one docker image for monitoring http endpoints and shipping metrics back to a central prometheus over the internet. Essentially it's prometheus and blackbox exporter on the same container.
To run this container successfully you will need 4 values.
PROM_USER=<prometheus-basic-auth user>
PROM_PASS=<prometheus-basic-auth-password>
PROM_TARGET=<target-url-to-check>
REMOTE_WRITE_URL=<url-for-prometheus-remote-write-target>
Populate the fields in docker-compose.yml and run docker compose up
- Create a .env file
cp .env.example .env
- Populate the fields
- Run
make run