Class: DatadogAPIClient::V2::Cpu

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/cpu.rb

Overview

CPU usage statistics derived from historical Spark job metrics. Provides multiple estimates so users can choose between conservative and cost-saving risk profiles.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



33
34
35
# File 'lib/datadog_api_client/v2/models/cpu.rb', line 33

def additional_properties
  @additional_properties
end

#maxObject

Maximum CPU usage observed for the job, expressed in millicores. This represents the upper bound of usage.



25
26
27
# File 'lib/datadog_api_client/v2/models/cpu.rb', line 25

def max
  @max
end

#p75Object

75th percentile of CPU usage (millicores). Represents a cost-saving configuration while covering most workloads.



28
29
30
# File 'lib/datadog_api_client/v2/models/cpu.rb', line 28

def p75
  @p75
end

#p95Object

95th percentile of CPU usage (millicores). Balances performance and cost, providing a safer margin than p75.



31
32
33
# File 'lib/datadog_api_client/v2/models/cpu.rb', line 31

def p95
  @p95
end