Skip to main content

Service Golden Signals

Layer: service observability (the what)

Engineering and SRE own this layer. Every production service exposes mechanism-level truth: what failed, where latency entered, which dependencies broke.

Outcome

For each service, you can answer:

  • What are the four golden signals right now?
  • Which dependency caused the error budget burn?
  • Can we trace one failed business event across all hops?

Golden signals

SignalMeasuresTypical alert
LatencyRequest durationp95 above SLO
TrafficDemandUnexpected drop or spike
ErrorsFailed requestsError rate above budget
SaturationResource pressureQueue depth, thread pool, pool exhaustion

Steps

1. Instrument ingress and egress

BoundaryEmit
HTTP / gRPC ingressSpan start, status, duration
Downstream callsClient spans with dependency name
Async / queueMessage consume and publish spans

Use OpenTelemetry (or equivalent) with W3C trace context propagation.

2. Define SLIs

SLIFormula (example)
Availabilitysuccessful requests / total requests
Latency% requests < 300ms
Correctnessvalid responses / total (domain-specific)

3. Set SLOs and error budgets

ElementGuideline
Window30d rolling for customer-facing APIs
Budget policyFreeze features when budget exhausted
ReviewMonthly with product for business-aligned services

4. Build the dependency graph

Maintain a service catalog entry per deployable:

  • Upstream callers
  • Downstream dependencies
  • Critical path flag for incident triage

5. AI and agent services (extension)

Add spans for hops that generic APM skips:

HopSpan attributes
Gatewayauth, route, policy allow/deny
Retrievalcorpus, chunk count, latency
Modeltokens, provider, finish reason
Tooltool name, success, redacted args
Validationgrounding result, abstention

See G.A.I.N Observability.

Release gate

  • Golden signals exported for every production service
  • Correlation ID propagated on all sync and async paths
  • SLIs and SLOs documented per tier-1 service
  • Dependency graph current in catalog
  • AI paths include retrieval, tool, and policy spans where applicable