google_api_cloud_trace v0.7.0 GoogleApi.CloudTrace.V2.Model.Link View Source

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.

Attributes

  • attributes (Attributes): A set of attributes on the link. You have have up to 32 attributes per link. Defaults to: null.
  • spanId (String.t): The [SPAN_ID] for a span within a trace. Defaults to: null.
  • traceId (String.t): The [TRACE_ID] for a trace within a project. Defaults to: null.
  • type (String.t): The relationship of the current span relative to the linked span. Defaults to: null.

    • Enum - one of [TYPE_UNSPECIFIED, CHILD_LINKED_SPAN, PARENT_LINKED_SPAN]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.CloudTrace.V2.Model.Link{
  attributes: GoogleApi.CloudTrace.V2.Model.Attributes.t(),
  spanId: any(),
  traceId: any(),
  type: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.