Class: Google::Devtools::Cloudtrace::V1::Trace

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/trace/v1/doc/google/devtools/cloudtrace/v1/trace.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#project_idString

Returns Project ID of the Cloud project where the trace data is stored.

Returns:

  • (String)

    Project ID of the Cloud project where the trace data is stored.



43
# File 'lib/google/cloud/trace/v1/doc/google/devtools/cloudtrace/v1/trace.rb', line 43

class Trace; end

#spansArray<Google::Devtools::Cloudtrace::V1::TraceSpan>

Returns Collection of spans in the trace.

Returns:



43
# File 'lib/google/cloud/trace/v1/doc/google/devtools/cloudtrace/v1/trace.rb', line 43

class Trace; end

#trace_idString

Returns Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string.

Returns:

  • (String)

    Globally unique identifier for the trace. This identifier is a 128-bit numeric value formatted as a 32-byte hex string.



43
# File 'lib/google/cloud/trace/v1/doc/google/devtools/cloudtrace/v1/trace.rb', line 43

class Trace; end