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 {POSIX_timestamp, 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.



26
27
28
# File 'lib/datadog_api_client/v2/models/metric_point.rb', line 26

def timestamp
  @timestamp
end

#valueObject

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