sentry-python icon indicating copy to clipboard operation
sentry-python copied to clipboard

GrapheneIntegration: Track operation name for tracing

Open keithhackbarth opened this issue 1 year ago • 2 comments

It is helpful to have the operation's name if trying to track the individual performance of GraphQL transactions using Sentry. This PR implements the approach suggested in this article, as part of the GrapheneIntegration()

Note: I looked and wasn't initially sure how to write a good test for this and also wasn't sure if this PR is even a good idea in the first place. So leaving a light version here for feedback.

keithhackbarth avatar Feb 05 '24 01:02 keithhackbarth

Hi @keithhackbarth, i would love to see this change! Mind if I look into writing tests for it on the weekend?

czyber avatar Feb 21 '24 06:02 czyber

Hey @keithhackbarth, i added a test and made a PR on your fork 😄

czyber avatar Feb 24 '24 20:02 czyber