Skip to content

Commit 35befac

Browse files
committed
Add envelop header
1 parent c15b99d commit 35befac

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@ title: Span Protocol
88

99
The SDK must implement a new "span v2" envelope item, which is used to emit spans to Sentry.
1010

11+
## Span v2 Envelope Header
12+
13+
The envelope header must contain the same properties as previously with transactions.
14+
There are no special requirements for the Span v2 envelope header.
15+
16+
```json
17+
{
18+
"sent_at": "2025-02-07T14:16:00Z",
19+
"dsn": "https://[email protected]/42",
20+
"sdk": {
21+
// ...
22+
},
23+
"trace": {
24+
// ...
25+
}
26+
}
27+
```
28+
29+
Also see [Envelope Headers](/sdk/data-model/envelopes/#headers).
30+
1131
## Span v2 Envelope Item Header
1232

1333
The envelope item header must contain the following properties:

0 commit comments

Comments
 (0)