View Source GoogleApi.CloudTrace.V2.Model.Link (google_api_cloud_trace v0.23.2)

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 (type: GoogleApi.CloudTrace.V2.Model.Attributes.t, default: nil) - A set of attributes on the link. Up to 32 attributes can be specified per link.
  • spanId (type: String.t, default: nil) - The [SPAN_ID] for a span within a trace.
  • traceId (type: String.t, default: nil) - The [TRACE_ID] for a trace within a project.
  • type (type: String.t, default: nil) - The relationship of the current span relative to the linked span.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudTrace.V2.Model.Link{
  attributes: GoogleApi.CloudTrace.V2.Model.Attributes.t() | nil,
  spanId: String.t() | nil,
  traceId: String.t() | nil,
  type: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.