Two teams use different definitions of "latency" for the same service — one at the ingress, one in the app — and their numbers disagree in reviews.
BeginnerScenarioObservability & Telemetry Decisions
Answer
Situation read → Both are right about different things. The disagreement is a missing SLI specification.
What I'd do →
- Write the SLI spec in the SLO doc: "latency measured at the ingress controller from request received to last byte sent".
- Keep the app latency as a diagnostic metric, not an SLO.
- Explain the gap (queueing, TLS, network) and graph both on the same panel.
- Name recording rules clearly:
slo:ingress_latency_good:ratio_rate5mvsapp:handler_duration_seconds:p99.
Why → A single agreed measurement point removes recurring arguments.
Interview tip → "Specification vs implementation" — define what you measure, then where.
More on Observability & Telemetry Decisions
Your team has metrics and logs but no tracing. A request to checkout fans out to 9 services and nobody can tell where the 2 seconds go. How do you introduce tracing?IntermediateThe monthly observability bill doubled in two months and finance wants it cut by 40%. What do you do?IntermediateA developer adds `customer_id` as a label to a request counter "for better debugging". You catch it in code review. What do you say?BeginnerYou need to pick a trace sampling strategy for a service doing 20,000 requests per second.AdvancedEvery team has built their own Grafana dashboards with different panels. During incidents, nobody can find anything.BeginnerA service's logs are unstructured strings like `Order 123 failed for user 9 after 3 retries`. Searching them during incidents is painful.Beginner