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
Return the string representation of the current transaction TraceParent object:
215
+
Return the string representation of the current transaction `TraceParent` object:
215
216
216
217
[source,python]
217
218
----
@@ -469,12 +470,14 @@ def coffee_maker(strength):
469
470
----
470
471
471
472
* `name`: The name of the span
472
-
* `span_type`: The type of the span, usually in a dot-separated hierarchy of `type`, `subtype`, and `action`, e.g. `db.mysql.query`. Alternatively, type, subtype and action can be provided as three separate arguments, see `span_subtype` and `span_action`.
473
-
* `skip_frames`: The number of stack frames to skip when collecting stack traces. Defaults to `0`.
474
-
* `leaf`: if `True`, all spans nested bellow this span will be ignored. Defaults to `False`.
475
-
* `labels`: a dictionary of labels. Keys must be strings, values can be strings, booleans, or numerical (`int`, `float`, `decimal.Decimal`). Defaults to `None`.
476
-
* `span_subtype`: subtype of the span, e.g. name of the database. Defaults to `None`.
477
-
* `span_action`: action of the span, e.g. `query`. Defaults to `None`
473
+
* `span_type`: (*optional*) The type of the span, usually in a dot-separated hierarchy of `type`, `subtype`, and `action`, e.g. `db.mysql.query`. Alternatively, type, subtype and action can be provided as three separate arguments, see `span_subtype` and `span_action`.
474
+
* `skip_frames`: (*optional*) The number of stack frames to skip when collecting stack traces. Defaults to `0`.
475
+
* `leaf`: (*optional*) if `True`, all spans nested bellow this span will be ignored. Defaults to `False`.
476
+
* `labels`: (*optional*) a dictionary of labels. Keys must be strings, values can be strings, booleans, or numerical (`int`, `float`, `decimal.Decimal`). Defaults to `None`.
477
+
* `span_subtype`: (*optional*) subtype of the span, e.g. name of the database. Defaults to `None`.
478
+
* `span_action`: (*optional*) action of the span, e.g. `query`. Defaults to `None`
479
+
* `links`: (*optional*) A list of `TraceParent` objects to which this span is causally linked.
0 commit comments