-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
metadata.yaml
203 lines (183 loc) · 5.51 KB
/
metadata.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
type: hostmetricsreceiver/process
parent: hostmetrics
sem_conv_version: 1.9.0
resource_attributes:
process.pid:
description: Process identifier (PID).
enabled: true
type: int
process.parent_pid:
description: Parent Process identifier (PPID).
enabled: true
type: int
process.executable.name:
description: >-
The name of the process executable. On Linux based systems, can be set to the
Name in proc/[pid]/status. On Windows, can be set to the base name of
GetProcessImageFileNameW.
enabled: true
type: string
process.executable.path:
description: >-
The full path to the process executable. On Linux based systems, can be set to
the target of proc/[pid]/exe. On Windows, can be set to the result of
GetProcessImageFileNameW.
enabled: true
type: string
process.command:
description: >-
The command used to launch the process (i.e. the command name). On Linux based
systems, can be set to the zeroth string in proc/[pid]/cmdline. On Windows, can
be set to the first parameter extracted from GetCommandLineW.
enabled: true
type: string
process.command_line:
description: >-
The full command used to launch the process as a single string representing the
full command. On Windows, can be set to the result of GetCommandLineW. Do not
set this if you have to assemble it just for monitoring; use
process.command_args instead.
enabled: true
type: string
process.owner:
description: The username of the user that owns the process.
enabled: true
type: string
process.cgroup:
description: cgroup associated with the process (Linux only).
enabled: false
type: string
attributes:
direction:
description: Direction of flow of bytes (read or write).
type: string
enum: [read, write]
state:
description: Breakdown of CPU usage by type.
type: string
enum: [system, user, wait]
paging_fault_type:
name_override: type
description: Type of memory paging fault.
type: string
enum: [major, minor]
context_switch_type:
name_override: type
description: Type of context switched.
type: string
enum: [involuntary, voluntary]
metrics:
process.cpu.time:
enabled: true
description: Total CPU seconds broken down by different states.
unit: s
sum:
value_type: double
aggregation_temporality: cumulative
monotonic: true
attributes: [state]
process.cpu.utilization:
enabled: false
description: >-
Percentage of total CPU time used by the process since last scrape,
expressed as a value between 0 and 1.
On the first scrape, no data point is emitted for this metric.
unit: "1"
gauge:
value_type: double
attributes: [state]
process.memory.usage:
enabled: true
description: The amount of physical memory in use.
unit: By
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
process.memory.virtual:
enabled: true
description: Virtual memory size.
unit: By
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
process.memory.utilization:
enabled: false
description: Percentage of total physical memory that is used by the process.
unit: "1"
gauge:
value_type: double
process.disk.io:
enabled: true
description: Disk bytes transferred.
unit: By
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [direction]
process.paging.faults:
enabled: false
description: Number of page faults the process has made.
extended_documentation: This metric is only available on Linux.
unit: "{faults}"
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [paging_fault_type]
process.signals_pending:
enabled: false
description: Number of pending signals for the process.
extended_documentation: This metric is only available on Linux.
unit: "{signals}"
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
process.threads:
enabled: false
description: Process threads count.
unit: "{threads}"
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
process.open_file_descriptors:
enabled: false
description: Number of file descriptors in use by the process.
extended_documentation: This metric is only available on Linux.
unit: '{count}'
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
process.handles:
enabled: false
description: Number of handles held by the process.
extended_documentation: This metric is only available on Windows.
unit: '{count}'
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: false
process.context_switches:
enabled: false
description: Number of times the process has been context switched.
extended_documentation: This metric is only available on Linux.
unit: '{count}'
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [context_switch_type]
process.disk.operations:
enabled: false
description: Number of disk operations performed by the process.
unit: "{operations}"
sum:
value_type: int
aggregation_temporality: cumulative
monotonic: true
attributes: [direction]