-
-
Notifications
You must be signed in to change notification settings - Fork 196
Lag reported as NaN for low volume topics #111
Comments
Might also be worth mentioning that if I restart the lag exporter, the value becomes zero. |
Looking at the code, it seems like this shouldn't be happening: It only returns Is it possible we're hitting this case? |
Hi @rkrage. Thanks for the troubleshooting efforts. There are indeed some weird edge cases when extrapolating lag in time. It's been a challenge to satisfy all of them. The time metric In either case, the best way to troubleshoot what's happening is to temporarily enable |
Hi @seglo, thanks for the response. Yes, I'm referring to the time metric here As you can see, once I turn off my test producer, time lag drops to zero initially, then changes to |
Not sure if this is expected behavior, but I've observed these
NaN
stats when a topic stops getting new messages and a consumer group is completely caught up. I'd expect the value to be zero in this case.If it's helpful, I'm running
0.5.5
against Kafka1.1.1
Might be related to #37
The text was updated successfully, but these errors were encountered: