Class: Google::Cloud::Monitoring::V3::Point

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/v3/metric.rb

Overview

A single data point in a time series.

Instance Attribute Summary collapse

Instance Attribute Details

#interval::Google::Cloud::Monitoring::V3::TimeInterval

Returns The time interval to which the data point applies. For GAUGE metrics, the start time is optional, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.

Returns:

  • (::Google::Cloud::Monitoring::V3::TimeInterval)

    The time interval to which the data point applies. For GAUGE metrics, the start time is optional, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.



39
40
41
42
# File 'proto_docs/google/monitoring/v3/metric.rb', line 39

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

#value::Google::Cloud::Monitoring::V3::TypedValue

Returns The value of the data point.

Returns:



39
40
41
42
# File 'proto_docs/google/monitoring/v3/metric.rb', line 39

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