Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opentelemetry creating one span per object #3475

Open
cadlagtrader opened this issue Apr 27, 2024 · 1 comment
Open

Opentelemetry creating one span per object #3475

cadlagtrader opened this issue Apr 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cadlagtrader
Copy link

cadlagtrader commented Apr 27, 2024

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

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@cadlagtrader cadlagtrader added the bug Something isn't working label Apr 27, 2024
@erikwrede erikwrede removed the bug Something isn't working label May 17, 2024
@erikwrede
Copy link
Member

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 😊

@erikwrede erikwrede added the enhancement New feature or request label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants