google_api_cloud_trace v0.17.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 (type: GoogleApi.CloudTrace.V2.Model.Attributes.t, default: nil) - A set of attributes on the link. You have have up to 32 attributes 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.

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: String.t(),
  traceId: String.t(),
  type: String.t()
}

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.