View Source GoogleApi.CloudTrace.V1.Model.Trace (google_api_cloud_trace v0.23.2)

A trace describes how long it takes for an application to perform an operation. It consists of a set of spans, each of which represent a single timed event within the operation.

Attributes

  • projectId (type: String.t, default: nil) - Project ID of the Cloud project where the trace data is stored.
  • spans (type: list(GoogleApi.CloudTrace.V1.Model.TraceSpan.t), default: nil) - Collection of spans in the trace.
  • traceId (type: String.t, default: nil) - Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string. For example, 382d4f4c6b7bb2f4a972559d9085001d. The numeric value should not be zero.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudTrace.V1.Model.Trace{
  projectId: String.t() | nil,
  spans: [GoogleApi.CloudTrace.V1.Model.TraceSpan.t()] | nil,
  traceId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.