Class: DatadogAPIClient::V1::Series
- Inherits:
 - 
      Object
      
        
- Object
 - DatadogAPIClient::V1::Series
 
 
- Includes:
 - BaseGenericModel
 
- Defined in:
 - lib/datadog_api_client/v1/models/series.rb
 
Overview
A metric to submit to Datadog. See Datadog metrics.
Instance Attribute Summary collapse
- 
  
    
      #additional_properties  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute additional_properties.
 - 
  
    
      #host  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the host that produced the metric.
 - 
  
    
      #interval  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If the type of the metric is rate or count, define the corresponding interval in seconds.
 - 
  
    
      #metric  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The name of the timeseries.
 - 
  
    
      #points  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Points relating to a metric.
 - 
  
    
      #tags  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of tags associated with the metric.
 - 
  
    
      #type  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of the metric.
 
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
      43 44 45  | 
    
      # File 'lib/datadog_api_client/v1/models/series.rb', line 43 def additional_properties @additional_properties end  | 
  
#host ⇒ Object
The name of the host that produced the metric.
      26 27 28  | 
    
      # File 'lib/datadog_api_client/v1/models/series.rb', line 26 def host @host end  | 
  
#interval ⇒ Object
If the type of the metric is rate or count, define the corresponding interval in seconds.
      29 30 31  | 
    
      # File 'lib/datadog_api_client/v1/models/series.rb', line 29 def interval @interval end  | 
  
#metric ⇒ Object
The name of the timeseries.
      32 33 34  | 
    
      # File 'lib/datadog_api_client/v1/models/series.rb', line 32 def metric @metric end  | 
  
#points ⇒ Object
Points relating to a metric. All points must be tuples with timestamp and a scalar value (cannot be a string). Timestamps should be in POSIX time in seconds, and cannot be more than ten minutes in the future or more than one hour in the past.
      35 36 37  | 
    
      # File 'lib/datadog_api_client/v1/models/series.rb', line 35 def points @points end  | 
  
#tags ⇒ Object
A list of tags associated with the metric.
      38 39 40  | 
    
      # File 'lib/datadog_api_client/v1/models/series.rb', line 38 def @tags end  | 
  
#type ⇒ Object
The type of the metric. Valid types are "",count, gauge, and rate.
      41 42 43  | 
    
      # File 'lib/datadog_api_client/v1/models/series.rb', line 41 def type @type end  |