@@ -28,3 +28,75 @@ groups:
2828 Assigned at ingestion time using the same rule evaluation that produces
2929 `dash0.operation.type`. Values are normalised to lowercase.
3030 examples : ["http", "db", "rpc", "messaging"]
31+
32+ - id : registry.dash0.trace.origin
33+ type : attribute_group
34+ display_name : Dash0 Trace Origin Attributes
35+ brief : >
36+ Attributes describing the origin of a trace, assigned at ingestion time
37+ by analysing the trace ID structure.
38+ attributes :
39+ - id : dash0.trace.origin.type
40+ type : string
41+ stability : stable
42+ brief : >
43+ Classification of the trace origin.
44+ note : |
45+ Determined at ingestion time by inspecting well-known prefixes in the trace ID.
46+ Traces whose ID starts with `d042` are classified as `WEB` (browser/RUM).
47+ Traces whose ID starts with `d0synt` (hex-encoded) are classified as `SYNTHETIC_CHECK`.
48+ All other traces receive the value `UNKNOWN`.
49+ examples : ["WEB", "SYNTHETIC_CHECK", "UNKNOWN"]
50+
51+ - id : dash0.trace.origin.web.session.id
52+ type : string
53+ stability : stable
54+ brief : >
55+ Identifier of the browser session that initiated the trace.
56+ note : |
57+ Extracted from bytes 3–11 of the trace ID for web traces (prefix `d042`).
58+ Only set when `dash0.trace.origin.type` is `WEB`.
59+ examples : ["001464d0c7bb671e", "00ce3d462fd28166"]
60+
61+ - id : dash0.trace.origin.web.event.id
62+ type : string
63+ stability : stable
64+ brief : >
65+ Original parent span ID from the browser, typically a web event.
66+ note : |
67+ On server root spans of web traces, the parent span ID is removed from the span
68+ and stored as this attribute instead.
69+ Only set when `dash0.trace.origin.type` is `WEB` and CRC32 checksum validation of
70+ the trace ID passes.
71+ examples : ["df7459ddb13b0399"]
72+
73+ - id : dash0.trace.origin.synthetic_check.check_id
74+ type : string
75+ stability : stable
76+ brief : >
77+ Unique identifier of the synthetic check that generated the trace.
78+ note : |
79+ Extracted from bytes 6–12 of the trace ID for synthetic-check traces (prefix `d0synt`).
80+ Only set when `dash0.trace.origin.type` is `SYNTHETIC_CHECK`.
81+ examples : ["64617368-3073-796e-7468-1234567890ab"]
82+
83+ - id : dash0.trace.origin.synthetic_check.attempt_id
84+ type : string
85+ stability : stable
86+ brief : >
87+ Attempt identifier for the synthetic check execution.
88+ note : |
89+ Extracted from bytes 12–16 of the trace ID for synthetic-check traces.
90+ Only set when `dash0.trace.origin.type` is `SYNTHETIC_CHECK`.
91+ examples : ["11112222"]
92+
93+ - id : dash0.trace.origin.synthetic_check.follow_redirect
94+ type : int
95+ stability : stable
96+ brief : >
97+ Index of the redirect followed for the synthetic check request.
98+ note : |
99+ Extracted from byte 7 of the parent span ID on server root spans of synthetic-check traces.
100+ Only set when `dash0.trace.origin.type` is `SYNTHETIC_CHECK` and the span matches the
101+ synthetic-check client span pattern.
102+ examples : [0, 2]
0 commit comments