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 {POSIX_timestamp, numeric_value}
.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#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
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/metric_point.rb', line 31 def additional_properties @additional_properties end |
#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.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/metric_point.rb', line 26 def @timestamp end |
#value ⇒ Object
The numeric value format should be a 64bit float gauge-type value.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/metric_point.rb', line 29 def value @value end |