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