Skip to main content
Both tracers are schema extensions, so they attach with Schema(extensions=[...]) and add no cost when absent.

Apollo tracing

ApolloTracingExtension merges per-operation and per-field timing into ExecutionResult.extensions["tracing"].

OpenTelemetry

OpenTelemetryExtension emits an operation span and a child span per resolved field. It lives behind the [opentelemetry] extra and imports the dependency lazily.
Pass a custom tracer= to integrate with an existing provider. Without the extra installed, instantiating the extension raises an ImportError naming mygenx-fastql[opentelemetry]; the core itself never imports OpenTelemetry.