Expand description
Event normalization and processing for attribute (EAP) based payloads.
A central place for all modifications/normalizations for attributes.
Modules§
- time
- Time normalization for EAP items.
- trace_
metric - Normalizations specific to trace metrics.
Structs§
- Trimming
Processor - Processor for trimming EAP items (logs, V2 spans).
Functions§
- attribute_
size - Calculates the size of a single attribute.
- attributes_
size - Calculates the canonical size of [
Attributes]. - normalize_
ai - Normalizes AI attributes.
- normalize_
attribute_ names - Normalizes deprecated attributes according to
sentry-conventions. - normalize_
attribute_ types - Normalizes/validates all attribute types.
- normalize_
attribute_ values - Normalizes the values of a set of attributes if present in the span.
- normalize_
client_ address - Normalizes the client address into [
Attributes]. - normalize_
dsc - Normalizes the DSC into [
Attributes]. - normalize_
received - Adds the
receivedtime to the attributes. - normalize_
sentry_ op - Infers the sentry.op attribute and inserts it into [
Attributes] if not already set. - normalize_
span_ category - Infers the sentry.category attribute and inserts it into
attributesif not already set. The category is derived from the span operation or other span attributes. - normalize_
user_ agent - Normalizes the user agent/client information into [
Attributes]. - normalize_
user_ geo - Normalizes the user’s geographical information into [
Attributes]. - value_
size - Recursively calculates the size of a [
Value], using the rules described inattributes_size. - write_
legacy_ attributes - Double writes sentry conventions attributes into legacy attributes.