Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions develop-docs/sdk/telemetry/spans/span-protocol.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The envelope item payload must contain an `items` array with span one and up to
"span_id": "438f40bd3b4a41ee",
"name": "GET /users",
"status": "ok",
"is_remote": true,
"is_segment": true,
"kind": "server",
"start_timestamp": 1742921669.158209,
"end_timestamp": 1742921669.180536,
Expand Down Expand Up @@ -114,7 +114,7 @@ The envelope item payload must contain an `items` array with span one and up to
"span_id": "f1196292f76e45c0",
"name": "app.handle",
"status": "ok",
"is_remote": false,
"is_segment": false,
"kind": "server",
"start_timestamp": 1742921669.178306,
"end_timestamp": 1742921669.180484,
Expand Down Expand Up @@ -148,7 +148,7 @@ The envelope item payload must contain an `items` array with span one and up to
| `parent_span_id` | string | No | 16-character hexadecimal string (a valid uuid4 without dashes) |
| `name` | string | Yes | A low cardinality description of what the span represents (e.g., "GET /users", "database.query") |
| `status` | string | Yes | Status of the span operation. Either `"ok"` or `"error"` |
| `is_remote` | boolean | Yes | Whether the SpanContext creating the span was received from somewhere else or locally generated |
| `is_segment` | boolean | Yes | Whether the span is a segment span |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically we decided not to require it for compatibility reasons with otel, but I am good with keeping it as required here for our own SDKs 👍.

| `kind` | string | Yes | The kind of span. Values: `"server"`, `"client"`, `"producer"`, `"consumer"`, `"internal"` |
| `start_timestamp` | number | Yes | Unix timestamp (with fractional microseconds) when the span was started |
| `end_timestamp` | number | Yes | Unix timestamp (with fractional microseconds) when the span was ended |
Expand Down
Loading