strawberry
strawberry copied to clipboard
Opentelemetry creating one span per object
trafficstars
Describe the Bug
When using opentelemetry strawberry extension, one span per returned sub-object seems to be created. It slows down considerably strawberry. Only a span for the top level object is necessary
System Information
- Operating system:
- Strawberry version (if applicable):
Additional Context
This is intended behavior - in some cases you want to instrument all of your resolvers to see how they're performing. However, we could extend the OTel support for finer granularity. Happy to accept any PRs on this 😊