DatadogTracingExtension
Constructor:
Signature:
Parameters:
-
execution_context:
- Type
-
ExecutionContext | None
- Default
-
None
Methods:
-
create_span
Create a span with the given name and kwargs.
You can override this if you want to add more tags to the span.
Example:
Signature:
Parameters:
-
lifecycle_step:
- Type
-
LifecycleStep
-
name:
- Type
-
str
-
kwargs:
- Type
-
Any
- Default
-
{}
-
-
hash_query
Signature:
Parameters:
-
query:
- Type
-
str
-
-
on_operation
Signature:
-
on_validate
Signature:
-
on_parse
Signature:
-
resolve
Signature:
Parameters:
-
_next:
- Type
-
Callable
-
root:
- Type
-
Any
-
info:
- Type
-
GraphQLResolveInfo
-
args:
- Type
-
str
- Default
-
()
-
kwargs:
- Type
-
Any
- Default
-
{}
-
Attributes:
-
execution_context: