Simple Go app that just pings a bunch of sites that you (politely) ask it to
The app listens on tcp/9090
Endpoint Name | What it does |
---|---|
/healthz |
Health check endpoint |
/metrics |
Exposes the prometheus Metrics |
The application exposes 2 useful metrics per monitored app
Endpoint |
---|
http_latency_milliseconds |
http_up |
This endpoint responds with the most recent latency in milliseconds for the app to make an http get
to the site
This is a binary operator which tells you if the app is reachable (1
) or not (0
)
# HELP http_latency_milliseconds Latency of HTTP requests to endpoints
# TYPE http_latency_milliseconds gauge
http_latency_milliseconds{endpoint="breadnet"} 40
http_latency_milliseconds{endpoint="google"} 329
# HELP http_up Whether the HTTP endpoint is up (1) or down (0)
# TYPE http_up gauge
http_up{endpoint="breadnet"} 1
http_up{endpoint="google"} 1
podman run --rm -v $(pwd)/endpoints.yaml:/app/endpoints.yaml europe-west2-docker.pkg.dev/breadnet-container-store/public/prom-status:latest