tracing Package

Modules

common

Common functions shared by both the sync and the async decorators.

decorator

The decorator to apply if you want the given function traced.

decorator_async

The decorator to apply if you want the given function traced.

ext

Classes

AbstractSpan

Wraps a span from a distributed tracing implementation.

HttpSpanMixin

Can be used to get HTTP span attributes settings for free.

Link

This is a wrapper class to link the context to the current tracer. :param headers: A dictionary of the request header as key value pairs. :type headers: dict :param attributes: Any additional attributes that should be added to link :type attributes: dict

Enums

SpanKind

An enumeration.