DatadogExtension
This extension adds support for tracing with Datadog.
Make sure you have ddtrace
installed before using this extension.
Usage example:
If you are not running in an Async context then you’ll need to use the sync
version:
API reference:
No arguments
Extending the extension
Overriding the create_span
method
You can customize any of the spans or add tags to them by overriding the
create_span
method.
Example: