File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ Table of Contents
14
14
* [ Tracer] ( #tracer )
15
15
* [ Tracer operations] ( #tracer-operations )
16
16
* [ SpanContext] ( #spancontext )
17
+ * [ IsValid] ( #isvalid )
18
+ * [ IsRemote] ( #isremote )
17
19
* [ Span] ( #span )
18
20
* [ Span creation] ( #span-creation )
19
21
* [ Determining the Parent Span from a Context] ( #determining-the-parent-span-from-a-context )
@@ -179,10 +181,14 @@ systems to participate in the same trace. Please review the [W3C
179
181
specification] ( https://www.w3.org/TR/trace-context/#tracestate-header ) for
180
182
details on this field.
181
183
182
- ` IsValid ` is a boolean flag which returns true if the SpanContext has a non-zero
183
- TraceID and a non-zero SpanID.
184
+ ### IsValid
184
185
185
- ` IsRemote ` is a boolean which is true if the SpanContext was
186
+ An API that returns a boolean value, which is ` true ` if the SpanContext has a
187
+ non-zero TraceID and a non-zero SpanID.
188
+
189
+ ### IsRemote
190
+
191
+ An API that returns a boolean value, which is ` true ` if the SpanContext was
186
192
propagated from a remote parent. When extracting a ` SpanContext ` through the
187
193
[ Propagators API] ( ../context/api-propagators.md#propagators-api ) , its ` IsRemote `
188
194
flag MUST be set to true, whereas the SpanContext of any child spans MUST have
You can’t perform that action at this time.
0 commit comments