Class: DatadogAPIClient::V2::MetricPoint
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::MetricPoint
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/metric_point.rb
Overview
A point object is of the form ‘numeric_value`.
Instance Attribute Summary collapse
-
#timestamp ⇒ Object
The timestamp should be in seconds and current.
-
#value ⇒ Object
The numeric value format should be a 64bit float gauge-type value.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#timestamp ⇒ Object
The timestamp should be in seconds and current. Current is defined as not more than 10 minutes in the future or more than 1 hour in the past.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/metric_point.rb', line 30 def @timestamp end |
#value ⇒ Object
The numeric value format should be a 64bit float gauge-type value.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/metric_point.rb', line 33 def value @value end |