A collection of links, which are references from this span to a span in the same or different trace.
JSON representation |
---|
{
"link": [
{
object ( |
Fields | |
---|---|
link[] |
A collection of links. |
dropped |
The number of dropped links after the maximum size was enforced. If this value is 0, then no links were dropped. |
Link
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.
JSON representation |
---|
{ "traceId": string, "spanId": string, "type": enum ( |
Fields | |
---|---|
trace |
The |
span |
The |
type |
The relationship of the current span relative to the linked span. |
attributes |
A set of attributes on the link. Up to 32 attributes can be specified per link. |
Type
The relationship of the current span relative to the linked span: child, parent, or unspecified.
Enums | |
---|---|
TYPE_UNSPECIFIED |
The relationship of the two spans is unknown. |
CHILD_LINKED_SPAN |
The linked span is a child of the current span. |
PARENT_LINKED_SPAN |
The linked span is a parent of the current span. |