Skip to content

Commit 88d3ac2

Browse files
committed
Clean up
1 parent 091eacd commit 88d3ac2

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,6 @@ span.setAttribute(SpanAttributes.HTTP_METHOD, 'GET')
5252
span.setAttribute(SpanAttributes.HTTP_RESPONSE_STATUS_CODE, 200)
5353
```
5454

55-
### Receiving the trace parent
56-
57-
The SDK must expose a method to receive the baggage string.
58-
59-
```js
60-
traceparent = span.getTraceparent()
61-
```
62-
63-
### Receiving the baggage
64-
65-
The SDK must expose a method to receive the baggage string.
66-
67-
```js
68-
baggage = span.getBaggage()
69-
```
70-
7155
### Additional, optional span APIs
7256

7357
`span.setStartTimestamp()` - overwrite the span's start time

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: Span Protocol
44

55
# Span protocol
66

7-
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.
8-
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.
7+
The SDK must implement a new "span" envelope item, which is used to emit an entire span tree (one root span and its children).
8+
The payload of each envelope item follows the [OpenTelemetry Protocol](https://opentelemetry.io/docs/specs/otel/protocol/).
99

1010
```
1111
{

0 commit comments

Comments
 (0)