ApolloTracingExtension

This extension adds tracing information to your response for Apollo Engine.

Usage example:

import strawberry
from 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 strawberry
from strawberry.extensions.tracing import ApolloTracingExtensionSync
schema = strawberry.Schema(
Query,
extensions=[
ApolloTracingExtensionSync,
]
)

API reference:

No arguments

Was this helpful? What can we improve?

Edit on Github

Newsletter 💌

Do you want to receive the latest updates on Strawberry? Subscribe to our newsletter!