-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathplugin.json
41 lines (41 loc) · 1.42 KB
/
plugin.json
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
{
"description" : "Displays memory use for a single process",
"command" : "node index.js",
"postExtract" : "npm install",
"ignore" : "node_modules",
"metrics" : ["MEM_PROCESS"],
"paramArray" : { "itemTitle" : ["source"], "schemaTitle" : "Process"},
"paramSchema" : [
{
"title" : "Source",
"name" : "source",
"description" : "The source to display in the legend for the memory data.",
"type" : "string",
"required" : true
},
{
"title" : "Process Name Regex",
"name" : "processName",
"description" : "A regular expression to match the name of the process.",
"type" : "string"
},
{
"title" : "Process Path Regex",
"name" : "processPath",
"description" : "A regular expression to match the full path of the process.",
"type" : "string"
},
{
"title" : "Process CWD Regex",
"name" : "processCwd",
"description" : "A regular expression to match the current working directory of the process.",
"type" : "string"
},
{
"title" : "Reconcile option",
"name" : "reconcile",
"description" : "How to reconcile in the case that multiple processes match. Set to First Match to use the first matching process, Parent to choose the parent process (useful if process is forked), or Longest Running to pick the process that has been running the longest.",
"type" : { "enum" : [["None", "none"], ["First Match", "first"], ["Parent", "parent"], ["Longest Running", "uptime"]]}
}
]
}