What every span-making function takes as keyword arguments.
attributes: set on the span when it startslinks: added after the linkslink_spansput in scopeparent: the parent, instead of the current spanroot: no parent (parentstill wins)annotations: aContextthe span carries (DisablePropagation)kind:"internal"unless givensampled: decided here instead of from the levels and the parentlevel: the span's trace level, instead ofCurrentTraceLevel
Attributes#
| Attribute | Type | Description |
|---|---|---|
attributes | Mapping[str, object] | |
links | Sequence[SpanLink] | |
parent | AnySpan | |
root | bool | |
annotations | Context | |
kind | SpanKind | |
sampled | bool | |
level | LogLevel |
On This Page
Attributes