ApolloTracingExtension
This extension adds tracing information to your response for Apollo Engine.
Usage example:
import strawberryfrom strawberry.extensions.tracing import ApolloTracingExtension schema = strawberry.Schema( Query, extensions=[ ApolloTracingExtension, ])
📝 Note
If you are not running in an Async context then you'll need to use the sync version:
import strawberryfrom strawberry.extensions.tracing import ApolloTracingExtensionSync schema = strawberry.Schema( Query, extensions=[ ApolloTracingExtensionSync, ])
API reference:
No arguments