Method: Google::Cloud::Monitoring::V3::Point#interval

Defined in:
proto_docs/google/monitoring/v3/metric.rb

#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.

[View source]

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