docker exec prometheus sh -lc 'wget -qO- http://127.0.0.1:9090/api/v1/status/tsdb'Build useful golden signals for Kubernetes APIs without triggering Prometheus cardinality traps
Keep stable labels, measure latency that actually explains incidents, and stop ephemeral pods from turning your metrics into expensive noise.
A practical guide to traffic, latency, errors, and saturation for Kubernetes APIs without filling Prometheus with useless series or breaking alerts.
Created: April 26, 2026
Published: April 26, 2026
Docker
Useful for local lab stacks where Prometheus runs in Docker Compose and you want to validate queries or cardinality before touching production.
dockernetwork access to the observability stack
docker exec prometheus sh -lc 'wget -qO- "http://127.0.0.1:9090/api/v1/query?query=count%20by%20(route)%20(http_server_request_duration_seconds_bucket%7Bjob%3D%5C%22payments-api%5C%22%7D)"'Content locked
This guide requires both steps before full content is available.
- ○Click “Like” on this guide.
- ○Share on WhatsApp, X, LinkedIn, or copy the link.
Access is automatically unlocked as soon as both steps are completed.