Link class

A pointer from the current span to another span in the same trace or in a different trace.

For example, this can be used in batching operations, where a single batch handler processes multiple requests from different traces or when the handler receives a request from a different project.

Constructors

Link.fromJson(Map json_)

Properties

attributes Attributes?
A set of attributes on the link.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spanId String?
The [SPAN_ID] for a span within a trace.
getter/setter pair
traceId String?
The [TRACE_ID] for a trace within a project.
getter/setter pair
type String?
The relationship of the current span relative to the linked span. Possible string values are:
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited