Open tvoinarovskyi opened 8 years ago
Metrics are still not even documented in kafka-python
. I think we should wait until it becomes a stable API there before adding those...
For now I'll remove those from 0.2.0 milestone
It's not something too complicated, but requires some time. Basically we need to take the metrics aggregators present in kafka-python
and call sensors for respectful events. Like self._sensors.records_fetch_lag.record(highwater - last_offset)
after each fetch to record lag samples.
Any progress? Just noticed the consumer does not have the method .metrics()
Any updates on this? Having producer/consumers metrics for aiokafka seems like a super useful thing to have for debugging client side issues or investigating client vs server problems.
Exposing metrics would be extremely valuable.
Thank you @marcosschroh , I will check this out now!
asyncio
context (like number of select calls).