Interview Prep/SRE & Reliability/Observability & Telemetry Decisions

You're designing observability for an event-driven system (Kafka consumers, no HTTP). What are the SLIs?

AdvancedScenarioObservability & Telemetry Decisions
Answer

Situation read → No requests means no request-based SLIs. Users care whether events are processed correctly and on time.

What I'd do →

  1. Freshness: age of the oldest unprocessed event, or end-to-end delay from produce timestamp to processed timestamp.
  2. Correctness: ratio of successfully processed events vs those sent to a dead-letter queue.
  3. Throughput/coverage: events processed vs events produced per window.
  4. Measure consumer lag in time, not only offsets (Burrow, kafka-lag-exporter, or kafka_consumergroup_lag plus produce rate).
  5. Propagate trace context in message headers so traces connect producer and consumer.
  6. SLO example: 99% of events processed within 60 s; 99.9% processed without DLQ.

Why → Freshness and correctness map to what downstream users experience.

Interview tip → "Lag in seconds, not messages" — offset lag is meaningless without throughput context.

All SRE & Reliability questions

More on Observability & Telemetry Decisions