-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathprocess-schema.json
More file actions
81 lines (81 loc) · 2.27 KB
/
Copy pathprocess-schema.json
File metadata and controls
81 lines (81 loc) · 2.27 KB
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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "rum/process-schema.json",
"title": "RumProcessEvent",
"type": "object",
"description": "Schema of all properties of a Process event",
"allOf": [
{
"$ref": "_common-schema.json"
},
{
"required": ["type", "process"],
"properties": {
"type": {
"type": "string",
"description": "RUM event type",
"const": "process",
"readOnly": true
},
"process": {
"type": "object",
"description": "Process properties",
"required": ["id", "role", "pid"],
"properties": {
"id": {
"type": "string",
"description": "UUID of the process",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$",
"readOnly": true
},
"role": {
"type": "string",
"description": "Role of the process",
"enum": ["main", "renderer", "utility"],
"readOnly": true
},
"pid": {
"type": "integer",
"description": "OS process ID",
"minimum": 0,
"readOnly": true
},
"ppid": {
"type": "integer",
"description": "Parent OS process ID",
"minimum": 0,
"readOnly": true
},
"name": {
"type": "string",
"description": "Process name",
"readOnly": true
},
"duration": {
"type": "integer",
"description": "Process lifetime in nanoseconds",
"minimum": 0,
"readOnly": true
},
"exit_reason": {
"type": "string",
"description": "Reason for process exit",
"enum": [
"clean-exit",
"abnormal-exit",
"killed",
"crashed",
"oom",
"launch-failed",
"integrity-failure",
"memory-eviction"
],
"readOnly": true
}
},
"readOnly": true
}
}
}
]
}