Skip to content

Commit de68ba7

Browse files
authored
fix(spans): Formatting error & link from envelope items (#15239)
1 parent 0022b62 commit de68ba7

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

develop-docs/sdk/data-model/envelope-items.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,10 @@ _None_
457457

458458
_None_
459459

460+
### Spans
461+
462+
For Version 2 of the spans protocol, see <Link to="/sdk/telemetry/spans/span-protocol">Span Protocol</Link>.
463+
460464
### Reserved Types
461465

462466
Reserved types may not be written by any implementation. They are reserved for

develop-docs/sdk/telemetry/spans/span-protocol.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -92,21 +92,21 @@ The envelope item payload must contain an `items` array with span one and up to
9292
"http.response.status_code": {
9393
"type": "integer",
9494
"value": 200
95-
},
96-
"links": [
97-
{
98-
"span_id": "6c71fc6b09b8b716",
99-
"trace_id": "627a2885119dcc8184fae7eef09438cb",
100-
"sampled": true,
101-
"attributes": {
102-
"sentry.link.type": {
103-
"type": "string",
104-
"value": "previous_trace"
105-
}
106-
}
107-
}
108-
]
95+
}
10996
},
97+
"links": [
98+
{
99+
"span_id": "6c71fc6b09b8b716",
100+
"trace_id": "627a2885119dcc8184fae7eef09438cb",
101+
"sampled": true,
102+
"attributes": {
103+
"sentry.link.type": {
104+
"type": "string",
105+
"value": "previous_trace"
106+
}
107+
}
108+
}
109+
]
110110
},
111111
{
112112
"trace_id": "6cf173d587eb48568a9b2e12dcfbea52",

0 commit comments

Comments
 (0)