Class: DatadogAPIClient::V2::ProcessScalarQuery

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

Overview

Per-process metrics from Live Processes. Queries without aggregator fail. 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.



58
59
60
# File 'lib/datadog_api_client/v2/models/process_scalar_query.rb', line 58

def additional_properties
  @additional_properties
end

#aggregator ⇒ Object

The type of aggregation that can be performed on metrics-based queries.



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

def aggregator
  @aggregator
end

#cross_org_uuids ⇒ Object

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



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

def cross_org_uuids
  @cross_org_uuids
end

#data_source ⇒ Object

A data source for process-level infrastructure metrics.



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

def data_source
  @data_source
end

#is_normalized_cpu ⇒ Object

Whether CPU metrics should be normalized by core count.



35
36
37
# File 'lib/datadog_api_client/v2/models/process_scalar_query.rb', line 35

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.



39
40
41
# File 'lib/datadog_api_client/v2/models/process_scalar_query.rb', line 39

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.



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

def metric
  @metric
end

#name ⇒ Object

The variable name for use in formulas.



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

def name
  @name
end

#sort ⇒ Object

Direction of sort.



49
50
51
# File 'lib/datadog_api_client/v2/models/process_scalar_query.rb', line 49

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.



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

def tag_filters
  @tag_filters
end

#text_filter ⇒ Object

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



56
57
58
# File 'lib/datadog_api_client/v2/models/process_scalar_query.rb', line 56

def text_filter
  @text_filter
end