API Reference#

This section is generated from SMonitor source docstrings and signatures.

Top-level public API#

configure

emit

resolve

report

signal

diagnostic_scope

Restrict capture locally; token restoration works across awaits and errors.

get_capture_policy

Return active permissions for consumers that construct diagnostic data.

CapturePolicy

Allowed capture operations; nested scopes combine permissions with AND.

export_bundle

collect_bundle

export_identity_bundle

Write one identity bundle JSON file without loading project configuration.

collect_identity_bundle

Collect a bounded, nonemitting snapshot of retained event identities.

Profiling API#

Integration API#

integrations.ensure_configured

Register a provider; bootstrap policy only before application configuration.

integrations.register_provider

Atomically register the exact package's CODES/SIGNALS and provenance.

integrations.emit_from_catalog

integrations.reset_configured_packages

Clears the package configuration memoization cache.