Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96580,9 +96580,20 @@ components:
cmdline:
description: Process command line.
type: string
executable:
description: Path to the process executable.
type: string
host:
description: Host running the process.
type: string
identifying_tags:
description: |-
Tags that uniquely identify the process: a host identity tag (`host`, `task_arn`,
or `eks_fargate_node`) and a `pid` tag. Omitted if either tag is unavailable.
items:
description: A tag identifying the process.
type: string
type: array
pid:
description: Process ID.
format: int64
Expand Down Expand Up @@ -210393,7 +210404,11 @@ paths:
data:
- attributes:
cmdline: /usr/bin/python3
executable: /usr/bin/python3
host: my-host
identifying_tags:
- host:my-host
- pid:123
pid: 123
id: abc-123
type: process
Expand Down
17 changes: 17 additions & 0 deletions src/datadog_api_client/v2/model/process_summary_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ class ProcessSummaryAttributes(ModelNormal):
def openapi_types(_):
return {
"cmdline": (str,),
"executable": (str,),
"host": (str,),
"identifying_tags": ([str],),
"pid": (int,),
"ppid": (int,),
"start": (str,),
Expand All @@ -29,7 +31,9 @@ def openapi_types(_):

attribute_map = {
"cmdline": "cmdline",
"executable": "executable",
"host": "host",
"identifying_tags": "identifying_tags",
"pid": "pid",
"ppid": "ppid",
"start": "start",
Expand All @@ -41,7 +45,9 @@ def openapi_types(_):
def __init__(
self_,
cmdline: Union[str, UnsetType] = unset,
executable: Union[str, UnsetType] = unset,
host: Union[str, UnsetType] = unset,
identifying_tags: Union[List[str], UnsetType] = unset,
pid: Union[int, UnsetType] = unset,
ppid: Union[int, UnsetType] = unset,
start: Union[str, UnsetType] = unset,
Expand All @@ -56,9 +62,16 @@ def __init__(
:param cmdline: Process command line.
:type cmdline: str, optional

:param executable: Path to the process executable.
:type executable: str, optional

:param host: Host running the process.
:type host: str, optional

:param identifying_tags: Tags that uniquely identify the process: a host identity tag ( ``host`` , ``task_arn`` ,
or ``eks_fargate_node`` ) and a ``pid`` tag. Omitted if either tag is unavailable.
:type identifying_tags: [str], optional

:param pid: Process ID.
:type pid: int, optional

Expand All @@ -79,8 +92,12 @@ def __init__(
"""
if cmdline is not unset:
kwargs["cmdline"] = cmdline
if executable is not unset:
kwargs["executable"] = executable
if host is not unset:
kwargs["host"] = host
if identifying_tags is not unset:
kwargs["identifying_tags"] = identifying_tags
if pid is not unset:
kwargs["pid"] = pid
if ppid is not unset:
Expand Down
Loading