You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: develop-docs/sdk/telemetry/spans/span-api.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ title: Span API
7
7
</Alert>
8
8
9
9
<Alertlevel="info">
10
-
The APIs specified in this documents MUST be implemented by all SDKs that don't use OpenTelemetry as their underlying tracing implementation.
10
+
The APIs specified in this document MUST be implemented by all SDKs that don't use OpenTelemetry as their underlying tracing implementation.
11
11
SDKs using OTel SHOULD follow their own already established span APIs but MAY orient themselves on this document if applicable.
12
12
</Alert>
13
13
@@ -19,7 +19,7 @@ This span has no parent span and groups together its children with a representat
19
19
The topmost span within a service boundary is called the "Segment Span".
20
20
Segment spans have a `parent_span_id` pointing to a "remote" span from the parent service.
21
21
22
-
For example, a distributed trace from backend to frontend, would have a segment span for the backend, and a segment span for the frotnend.
22
+
For example, a distributed trace from backend to frontend, would have a segment span for the backend, and a segment span for the frontend.
23
23
The frontend segment span is also the root span of the entire span tree.
24
24
25
25
SDKs MUST NOT expose names like "segment span" (e.g. in APIs) to users and SHOULD NOT (read "avoid") exposing "root span" if possible.
@@ -52,7 +52,7 @@ interface Span {
52
52
When implementing the span interface, consider the following guidelines:
53
53
54
54
- SDKs MAY implement additional APIs, such as getters/setters for properties (e.g. `span.getStatus()`), or additional methods for convenience (e.g. `Span::spanContext()`).
55
-
- SDK implementers SHOULD dissalow direct mutation (without setters) of span properties such as the span name, depending on the plaform and the challenges involved.
55
+
- SDK implementers SHOULD disallow direct mutation (without setters) of span properties such as the span name, depending on the platform and the challenges involved.
56
56
- SDK implementers MAY disallow direct read access to span properties, depending on the platform and the challenges involved.
0 commit comments