Class: Google::Cloud::Trace::V1::Trace

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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_id::String

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.



38
39
40
41
# File 'proto_docs/google/devtools/cloudtrace/v1/trace.rb', line 38

class Trace
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#spans::Array<::Google::Cloud::Trace::V1::TraceSpan>

Returns Collection of spans in the trace.

Returns:



38
39
40
41
# File 'proto_docs/google/devtools/cloudtrace/v1/trace.rb', line 38

class Trace
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#trace_id::String

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

Returns:

  • (::String)

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



38
39
40
41
# File 'proto_docs/google/devtools/cloudtrace/v1/trace.rb', line 38

class Trace
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end