The root span of a trace segment: sent as one transaction item with
its finished children.
- Implemented types
Properties
- description → String?
-
no setterinherited
- finished → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
getter/setter pair
- op → String
-
no setterinherited
- parentSpanId → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampled → bool
-
The trace's sampling decision, made at its root. Unsampled spans still
propagate their ids (with the
00flag) but are never sent.no setterinherited - spanId → String
-
no setterinherited
- status → String?
-
no setterinherited
- traceId → String
-
no setterinherited
Methods
-
finish(
{String? status, DateTime? endTimestamp}) → void -
Ends the span; the status defaults to
ok. Later calls are ignored.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setData(
String key, Object? value) → void -
inherited
-
setMeasurement(
String name, num value, {String unit = 'none'}) → void -
setStatus(
String status) → void -
inherited
-
setTag(
String key, String value) → void -
inherited
-
startChild(
String op, {String? description}) → BugCapsuleSpan -
inherited
-
toBaggage(
) → String -
baggageheader value (bugcapsule-*entries only).inherited -
toString(
) → String -
A string representation of this object.
inherited
-
toTraceparent(
) → String -
traceparentheader value for an outgoing request made by this span.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited