Back to guidesGuide

Practical golden signals for APIs on Kubernetes without inflating the stack

Define metrics, dashboards and realistic response actions for latency, traffic, errors and saturation for HTTP services on Kubernetes

A technical, actionable guide to map golden signals to Prometheus metrics and PromQL, build Grafana panels, create alerts and follow a reproducible troubleshooting flow for Kubernetes APIs without adding unnecessary agents.

Created: April 15, 2026

Published: April 15, 2026

Estimated time45 min
LevelIntermediate
Before you startAccess to a Kubernetes cluster (kubeconfig with read permissions)
PlatformsLinux / Docker
WhatsAppXLinkedIn

Docker

Examples to run a local Prometheus instance and test basic queries against an example configuration; useful to reproduce queries outside the cluster.

Docker installeda prometheus.yml example in the working directory
Start a disposable local Prometheus for testing
docker run --rm -p 9090:9090 -v $(pwd)/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus:v2.45.0
Make a simple query to the local Prometheus
curl -g 'http://127.0.0.1:9090/api/v1/query?query=up' | jq
Inspect /metrics of a simple HTTP image
docker run --rm -p 8000:8000 quay.io/prometheus/busybox:latest sh -c "while true; do echo -e 'HTTP/1.1 200 OK\n\nHello' | nc -l -p 8000; done" &
# then: curl -s http://127.0.0.1:8000

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.