A streaming pipeline must not lose more than 0.1% of its input records. Which metric measures compliance with this requirement?
Show answer and explanation
Answer: B
Loss is a completeness property, so the right measurement compares records that entered the pipeline with records that reached the destination, and accounts for records diverted to a dead-letter location. A tolerance such as 0.1 percent then becomes an SLO. Latency, CPU, and spend metrics can look healthy while records silently disappear.
Why the other options are wrong
- A. Latency measures how long records take to flow through, and a pipeline can be fast while still dropping records, so this does not measure loss.
- C. CPU utilization reflects how busy workers are, which says nothing about whether each input record reached the output.
- D. Spend tracks cost per unit of processed data and is unrelated to whether records were lost, so it cannot verify the loss threshold.