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
Sentry support for GraphQL-Ruby #2091
Comments
FWIW this is my custom sentry tracer:
I basically just sets the transaction name based on the graphql query name. For our usecase we needed to add support for a Feel free to use this as a starting point if it's of any help. |
We have the same issue, would be really helpful to get support |
thx @Prithvirajkumar we'll try to schedule some dev time on this in the next months |
I've opened a PR on the ruby-graphql repo this morning for this. |
oh thanks @patch0, we would also be okay with this code living on our side, but if it fits better with the graphql gem's design, also fine. I'll try to review this in the next days. |
Can do. I think that's how skylight are doing it. Everyone else has put the code in graphql-ruby. AppOptics have taken a different approach that seems to compare a Gem version, so maybe the tracing is now in two places for them? |
follow up with steps outlined here |
GraphQL::Tracing::Trace provides hooks to observe and modify events during runtime, link to docs.
Several monitoring platforms are supported out-of-the box by GraphQL-Ruby:
The requirement is for Sentry support in GraphQL-Ruby.
There is a GitHub Issue created for this here - rmosolgo/graphql-ruby#3655
And it looks like they would welcome a PR for it as detailed here - rmosolgo/graphql-ruby#3655 (comment)
The text was updated successfully, but these errors were encountered: