pub fn normalize_mobile_attributes(attributes: &mut Annotated<Attributes>)Expand description
Normalizes mobile-specific attributes on a span.
- Sets
sentry.mobile: "true"if the SDK is a known mobile SDK. - Sets
sentry.main_thread: "true"if the SDK is mobile andthread.nameis"main". - Removes mobile measurement attributes that exceed 180 seconds.
- Normalizes V1
app_start_cold/app_start_warminto unifiedapp.vitals.start.*attributes. - Derives
device.classfrom device attributes if not already set.