sentry-python - Sentry SDK for Python¶
This is the API documentation for Sentry’s Python SDK. For full documentation and other resources visit the GitHub repository.
- Main API
Client
HttpTransport
Hub
Hub.add_breadcrumb()
Hub.bind_client()
Hub.capture_event()
Hub.capture_exception()
Hub.capture_message()
Hub.client
Hub.configure_scope()
Hub.end_session()
Hub.flush()
Hub.get_integration()
Hub.iter_trace_propagation_headers()
Hub.last_event_id()
Hub.pop_scope_unsafe()
Hub.push_scope()
Hub.resume_auto_session_tracking()
Hub.run()
Hub.scope
Hub.start_session()
Hub.start_span()
Hub.start_transaction()
Hub.stop_auto_session_tracking()
Hub.trace_propagation_meta()
Scope
Scope.add_attachment()
Scope.add_error_processor()
Scope.add_event_processor()
Scope.apply_to_event()
Scope.clear()
Scope.clear_breadcrumbs()
Scope.fingerprint
Scope.level
Scope.remove_context()
Scope.remove_extra()
Scope.remove_tag()
Scope.set_context()
Scope.set_extra()
Scope.set_level()
Scope.set_tag()
Scope.set_transaction_name()
Scope.set_user()
Scope.span
Scope.transaction
Scope.user
Transport
add_breadcrumb()
capture_event()
capture_exception()
capture_message()
configure_scope()
flush()
last_event_id()
push_scope()
set_context()
set_extra()
set_level()
set_tag()
set_user()
start_span()
start_transaction()
- Integrations