Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion elasticapm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
)
from elasticapm.utils.disttracing import trace_parent_from_headers, trace_parent_from_string # noqa: F401

__all__ = ("VERSION", "Client")

_activation_method = None

Expand All @@ -66,3 +65,28 @@
raise DeprecationWarning("The Elastic APM agent requires Python 3.6+")

from elasticapm.contrib.asyncio.traces import async_capture_span # noqa: F401 E402

__all__ = (
"Client",
"VERSION",
"async_capture_span",
"capture_serverless",
"capture_span",
"get_client",
"get_span_id",
"get_trace_id",
"get_trace_parent_header",
"get_transaction_id",
"instrument",
"label",
"set_context",
"set_custom_context",
"set_transaction_name",
"set_transaction_outcome",
"set_transaction_result",
"set_user_context",
"setup_logging",
"trace_parent_from_headers",
"trace_parent_from_string",
"uninstrument",
)