Class: Google::Monitoring::V3::Point
- Inherits:
-
Object
- Object
- Google::Monitoring::V3::Point
- 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
-
#interval ⇒ Google::Monitoring::V3::TimeInterval
The time interval to which the data point applies.
-
#value ⇒ Google::Monitoring::V3::TypedValue
The value of the data point.
Instance Attribute Details
#interval ⇒ Google::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.
32 |
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb', line 32 class Point; end |
#value ⇒ Google::Monitoring::V3::TypedValue
Returns The value of the data point.
32 |
# File 'lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb', line 32 class Point; end |