Page MenuHomePhabricator

Add Kafka error metric to Real-Time API
Closed, ResolvedPublic

Description

Our Kafka healthchecks seem to succeed every time, even when Kafka is unreachable. This was tested locally in the realtime docker-compose setup.

They succeed even when starting the server without a Kafka broker in the first place.

Scope

  • Only the Real-Time API is in scope in this ticket.
  • The goal is to record Kafka errors as a metric every time they occur in the Real-Time Kafka polling/subscription logic.
  • The follow-up work to analyze error types and define different behaviors per error (e.g., runbooks, alerts, connection handling) will be a separate task.

Details

Due Date
Nov 19 2025, 6:00 AM

Event Timeline

JArguello-WMF updated the task description. (Show Details)
JArguello-WMF updated the task description. (Show Details)
JArguello-WMF lowered the priority of this task from High to Low.Nov 12 2025, 4:06 PM
JArguello-WMF updated the task description. (Show Details)
JArguello-WMF raised the priority of this task from Low to High.Nov 13 2025, 1:06 PM
JArguello-WMF renamed this task from Our Kafka healthchecks seem to be ineffective to Our Kafka healthchecks seem to be ineffective: Add Kafka error metric to Real-Time API.Nov 13 2025, 1:29 PM
JArguello-WMF assigned this task to LDlulisa-WMF.
JArguello-WMF updated the task description. (Show Details)
JArguello-WMF renamed this task from Our Kafka healthchecks seem to be ineffective: Add Kafka error metric to Real-Time API to Add Kafka error metric to Real-Time API.Nov 13 2025, 3:20 PM
JArguello-WMF set Due Date to Nov 19 2025, 6:00 AM.

Deployed in dev, but the errors we are getting are not kafka related .