-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
Support for Apollo in Sentry Performance #2012
Comments
@fabiendem we only have for the Android native layer, but not for the JS layer, I'll tag it as a feature request. Feel free to use our custom instrumentation and do something similar to what's done in this blog post. |
@fabiendem You might be interested in this blogpost we have that details how to create a Sentry Plugin for Apollo: https://blog.sentry.io/2021/08/31/guest-post-performance-monitoring-in-graphql |
Interesting thanks, I'll have a look. I don't want to divert from this ticket too much, but in the RN doc, what does https://docs.sentry.io/platforms/react-native/performance/#enable-tracing |
@fabiendem the JS docs may help to explain that https://docs.sentry.io/platforms/javascript/performance/instrumentation/automatic-instrumentation/#tracingorigins |
I tried to use https://github.com/DiederikvandenB/apollo-link-sentry to get the GQL query names instead of |
getsentry/sentry-javascript#3953 should help here once we bump to JS 7.2.0 |
Thanks @marandaneto but isn't it for server side queries only? It won't apply to a react-native project I believe. |
Hey FYI we're now using https://github.com/DiederikvandenB/apollo-link-sentry in our app. |
I was able to achieve our goal of query name being part of a span by propagating it to breadcrumbs and then to spam.
|
Hello,
I am setting up the Sentry Performance monitoring on a React Native Project.
Most of our queries are made via Apollo/GraphQL.
I see that you have a specific plugin for Sentry and Apollo on Android: https://docs.sentry.io/platforms/android/configuration/integrations/apollo/
I am wondering if there is such a plugin for React Native, knowing that the Apollo setup is made at the JS layer in our app.
I couldn't find it in the docs or in the source code of the library.
Thanks
The text was updated successfully, but these errors were encountered: