Skip to main content

Module span

Module span 

Source
Expand description

Span normalization logic.

Modules§

ai
AI cost calculation.
country_subregion
Mapping betwwen country code and subregion code
description
Span description scrubbing logic.
exclusive_time
Span attribute materialization.
tag_extraction
Logic for persisting items into span.sentry_tags and span.measurements fields. These are then used for metrics extraction.

Statics§

TABLE_NAME_REGEX
Regex used to scrub hex IDs and multi-digit numbers from table names and other identifiers.

Functions§

normalize_app_start_spans
Replaces snake_case app start spans op with dot.case op.
normalize_dsc_for_event_spans
Writes DSC attributes needed for dynamic sampling into the spans’ data.
normalize_dsc_for_span_data
Writes DSC attributes needed for dynamic sampling into span_data.