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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb

Overview

A single data point in a time series.

Instance Attribute Summary collapse

Instance Attribute Details

#intervalGoogle::Monitoring::V3::TimeInterval

Returns The time interval to which the data point applies. For +GAUGE+ metrics, only the end time of the interval is used. 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::Monitoring::V3::TimeInterval)

    The time interval to which the data point applies. For +GAUGE+ metrics, only the end time of the interval is used. 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.



32
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb', line 32

class Point; end

#valueGoogle::Monitoring::V3::TypedValue

Returns The value of the data point.

Returns:



32
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb', line 32

class Point; end