Graphql Transaction vs. Span #3196
-
What is the logic for span vs. transactions for the graqhql integrations like Strawberry and Graphene? For example, I would think a single graphql operation (eg Happy to submit a PR but before I do - wanted to understand the use case and logic behind this decision? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @keithhackbarth We got the same problem before. So it seems the issue you are having (with Strawberry) should be fixed by #3294 . As the changes are already made for Strawberry I dont think anything would speak against submitting a PR for graphene as well. |
Beta Was this translation helpful? Give feedback.
Hey @keithhackbarth
We got the same problem before.
So it seems the issue you are having (with Strawberry) should be fixed by #3294 .
Graphene on the other hand still has the behaviour you are describing.
As the changes are already made for Strawberry I dont think anything would speak against submitting a PR for graphene as well.
If for some reasons that would not be accepted, you could get the desired functionality by implementing it as a Middleware for Graphene that sets the transaction name.