Drain
- class metricq.Drain(*args, queue, metrics, **kwargs)
- __init__(*args, queue, metrics, **kwargs)
Drain the given queue of all buffered metric data
- __aiter__()
Allows to asynchronously iterate over all metric data as it gets received.
Use it like this:
async for metric, time, value in my_drain: pass
- Return type: