[Discussion] How to handle creating spans when PHP Generators are involved? #1444
Closed
Description
Hi,
Sorry for posting this as an issue, don't know where else to ask.
I am using open-telemetry/opentelemetry-auto-psr16 to automatically create spans for CacheInterface calls.
Among the hooked-into methods, there are some that return iterable
via yield
keyword (Generators) (e.g. getMultiple
).
This results in one span for each yield
call, resulting in very long traces.
Is there any way that these can be grouped or deduplicated?
Do maintainers consider this an issue?
Thank you!
Metadata
Assignees
Labels
No labels