All languages

Python for DevOps

You're viewing a free preview. Sign in free to read every script.

Why this exists Checking five or ten endpoints one at a time in a loop is slow, and a deploy pipeline shouldn't wait 30 seconds for something that could take 3. This runs every check in parallel and gives one pass/fail…

Concurrent Health Check Across Many Endpoints

Hits a list of HTTP endpoints in parallel, reports status and response time for each, and exits non-zero if anything is unhealthy — built to run as a Jenkins post-deploy gate.

Sign in free to read this script, along with the rest of the library.

Sign in free