Skip to main content

db_span

Attribute Macro db_span 

Source
#[db_span]
Expand description

Instrument an xmtp_db query method as operation = "db.<fn_name>" in libxmtp’s canonical, OTEL-safe span form (err, skip_all). Surfaces as xmtp.db.* Collector metrics. See [span] for the shared rationale.