Closed
Description
Hello,
I recently discovered that the metrics I was emitting from some generator functions were not actually being emitted and after some digging I found that the reason is that @metric_scope
doesn't actually iterate the generator, so logger.flush()
occurs before any consumer attempts to use the generator.
Is this expected behavior or actually a bug?
Metadata
Metadata
Assignees
Labels
No labels