Is there a way to get the write lag? I can see it ...
# community-help
n
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
+1 I would be very interested in that as well
j
The write lag is available in the
/stats.json
endpoint, under
pending_write_batches
👍 1
n
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.