Class: DatadogAPIClient::V2::ProcessTimeseriesQuery

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

Overview

Per-process metrics from Live Processes over time, such as CPU and memory usage. To scope to one process, set tag_filters to its identifying_tags from GET /api/v2/processes.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



55
56
57
# File 'lib/datadog_api_client/v2/models/process_timeseries_query.rb', line 55

def additional_properties
  @additional_properties
end

#cross_org_uuids ⇒ Object

Organization UUIDs to query when using cross-organization visibility. Limited to one organization UUID.



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

def cross_org_uuids
  @cross_org_uuids
end

#data_source ⇒ Object

A data source for process-level infrastructure metrics.



29
30
31
# File 'lib/datadog_api_client/v2/models/process_timeseries_query.rb', line 29

def data_source
  @data_source
end

#is_normalized_cpu ⇒ Object

Whether CPU metrics should be normalized by core count.



32
33
34
# File 'lib/datadog_api_client/v2/models/process_timeseries_query.rb', line 32

def is_normalized_cpu
  @is_normalized_cpu
end

#limit ⇒ Object

Maximum number of processes or groups to return. Large values can fail with an Unprocessable Content error. If so, retry with a smaller limit.



36
37
38
# File 'lib/datadog_api_client/v2/models/process_timeseries_query.rb', line 36

def limit
  @limit
end

#metric ⇒ Object

The process metric to query, such as process.stat.cpu.total_pct, process.stat.memory.rss, or process.stat.memory.vms.



40
41
42
# File 'lib/datadog_api_client/v2/models/process_timeseries_query.rb', line 40

def metric
  @metric
end

#name ⇒ Object

The variable name for use in formulas.



43
44
45
# File 'lib/datadog_api_client/v2/models/process_timeseries_query.rb', line 43

def name
  @name
end

#sort ⇒ Object

Direction of sort.



46
47
48
# File 'lib/datadog_api_client/v2/models/process_timeseries_query.rb', line 46

def sort
  @sort
end

#tag_filters ⇒ Object

Tags to narrow down processes. To scope to one process, use its identifying_tags from GET /api/v2/processes, for example host:web-01 and pid:1234.



50
51
52
# File 'lib/datadog_api_client/v2/models/process_timeseries_query.rb', line 50

def tag_filters
  @tag_filters
end

#text_filter ⇒ Object

A full-text search filter to match process names or commands.



53
54
55
# File 'lib/datadog_api_client/v2/models/process_timeseries_query.rb', line 53

def text_filter
  @text_filter
end