You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GraphQlObservationInstrumentation is incorrectly setting up the parent observation for both request execution and data fetching observations.
In the case of the request execution, we are not looking into the GraphQL Context for an existing observation - if it exists, it needs to be set as the parent. As for the data fetching observation, we're incorrectly assuming that the parent of all data fetching operations is the request execution one - data fetching operations can be nested and we should only rely on the current observation in the GraphQL context.
The text was updated successfully, but these errors were encountered:
The
GraphQlObservationInstrumentation
is incorrectly setting up the parent observation for both request execution and data fetching observations.In the case of the request execution, we are not looking into the GraphQL Context for an existing observation - if it exists, it needs to be set as the parent. As for the data fetching observation, we're incorrectly assuming that the parent of all data fetching operations is the request execution one - data fetching operations can be nested and we should only rely on the current observation in the GraphQL context.
The text was updated successfully, but these errors were encountered: