Class: DatadogAPIClient::V2::MetricPoint

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#timestampObject

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
  @timestamp
end

#valueObject

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