Is there a way to get the write lag? I can see it printed to the log, but I'm not seeing it in stats.json or metrics.json
👍 1
k
Kyriakos Akriotis
01/28/2025, 3:35 PM
+1 I would be very interested in that as well
j
Jason Bosco
01/28/2025, 5:57 PM
The write lag is available in the
/stats.json
endpoint, under
pending_write_batches
👍 1
n
Neil Kumar
01/28/2025, 6:02 PM
That's interesting, I was getting a value of 0 for that field even though the log was printing out the lag (and my clients were getting the 503 - Not Ready or Lagging). I'll pay more attention to that field next time it happens.