Skip to content

Commit 24ab5ca

Browse files
committed
Fix formatting
1 parent 8bb3a08 commit 24ab5ca

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

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

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,57 +7,57 @@ title: Span Protocol
77
We'll introduce a new “span” envelope item, which the SDK uses to emit a segment span and its children. And in the future, a batch of spans.
88
The payload of each envelope item follows the [OpenTelemetry Protocol](https://opentelemetry.io/docs/specs/otel/protocol/), which introduced typed attributes and will ease the conversion in our POtel SDKs.
99

10-
```json
10+
```
1111
{
1212
"event_id":"9ec79c33ec9942ab8353589fcb2e04dc"
1313
}
1414
{
1515
"type": "span"
1616
}
1717
{
18-
"traceId": "32d3c7cb501fbddbe3ce1016a72d50b5",
19-
"spanId": "e91d37480970523b",
20-
"name": "GET /",
21-
"startTime": "1544712660",
22-
"endTime": "1544712680",
23-
"attributes": [
24-
{
18+
"traceId": "32d3c7cb501fbddbe3ce1016a72d50b5",
19+
"spanId": "e91d37480970523b",
20+
"name": "GET /",
21+
"startTime": "1544712660",
22+
"endTime": "1544712680",
23+
"attributes": [
24+
{
2525
"key": "sentry.op",
26-
"value": {
27-
"stringValue": "http.sever",
28-
}
26+
"value": {
27+
"stringValue": "http.sever",
28+
}
2929
},
30-
{
31-
"key": "http.response.status_code",
32-
"value": {
33-
"intValue": "200",
34-
}
35-
}
36-
}
30+
{
31+
"key": "http.response.status_code",
32+
"value": {
33+
"intValue": "200",
34+
}
35+
}
36+
]
3737
}
3838
{
3939
"type": "span"
4040
}
4141
{
4242
"traceId": "32d3c7cb501fbddbe3ce1016a72d50b5",
43-
"spanId": "6b22b3af586e777a",
44-
"parentSpanId": "e91d37480970523b",
45-
"name": "UserMiddleware",
46-
"startTimeUnix": "1544712665",
47-
"endTimeUnix": "1544712675",
48-
"attributes": [
49-
{
50-
"key": "sentry.op",
51-
"value": {
52-
"stringValue": "middleware.handle",
53-
}
54-
},
55-
{
56-
"key": "user.email",
57-
"value": {
58-
"stringValue": "[email protected]",
59-
}
60-
}
61-
}
43+
"spanId": "6b22b3af586e777a",
44+
"parentSpanId": "e91d37480970523b",
45+
"name": "UserMiddleware",
46+
"startTimeUnix": "1544712665",
47+
"endTimeUnix": "1544712675",
48+
"attributes": [
49+
{
50+
"key": "sentry.op",
51+
"value": {
52+
"stringValue": "middleware.handle",
53+
}
54+
},
55+
{
56+
"key": "user.email",
57+
"value": {
58+
"stringValue": "[email protected]",
59+
}
60+
}
61+
]
6262
}
6363
```

0 commit comments

Comments
 (0)