DashboardsentryTracing convention: start_span + set_sp…

Tracing convention: start_span + set_span_tag/set_span_data helpers

Category: preference
Confidence: 1.00
ID: 019fb3b9-f56d-7d56-b95f-0b0f1d533e02
Project ID: 702228c8-56bc-4694-8d5a-174ac2f29105
Cross-project: No
Recalled in other projects: 0
Source session: 0rWXqG93IDSIFMxki
Created: 2026-07-30 15:52:16
Updated: 2026-07-30 15:52:16

Content

Directive (Burak Yigit Kaya, 2026-07-30): for instrumentation, use with start_span(name="event_manager.save", op="save") as span: and tag/data helpers set_span_tag(span, "platform", platform) / set_span_data(span, "rows_count", len(rows)). op is the category (db, http.client, save, etc.); name is the specific identifier. Tags are indexed/searchable (low cardinality enums); data is high-cardinality context. Pair with the structured-logging convention in the same function.

Move to: