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

Facilitate graphql monitoring with playground on Nest.js #13133

Open
Tracked by #12504
chargome opened this issue Jul 31, 2024 · 0 comments
Open
Tracked by #12504

Facilitate graphql monitoring with playground on Nest.js #13133

chargome opened this issue Jul 31, 2024 · 0 comments
Labels
Package: nestjs Issues related to the Sentry Nestjs SDK

Comments

@chargome
Copy link
Member

chargome commented Jul 31, 2024

While debugging an issue I just realized that tracing for graphql on nest with activated playground created lots of noise in performance, making it hard to find actual queries/mutations to /graphql. I thing the reason is that the graphql playground sends introspection queries every few seconds.

DX could be improved by dropping these transactions (maybe with a config flag?).

Here's a repo to get started: https://github.com/chargome/ex.nest-gql

After spinning up the server just visit http://localhost:3000/graphql and run a simple query (query Foo{hello}).

@nicohrubec nicohrubec added the Package: nestjs Issues related to the Sentry Nestjs SDK label Jul 31, 2024
@nicohrubec nicohrubec removed their assignment Sep 4, 2024
@mydea mydea changed the title Facilitate graphql monitoring with playground Facilitate graphql monitoring with playground on Nest.js Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: nestjs Issues related to the Sentry Nestjs SDK
Projects
None yet
Development

No branches or pull requests

2 participants