-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.json
44 lines (44 loc) · 1.16 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
42
43
44
{
"name": "Pulse Kubernets Plugin",
"description": "Plugin for Kubernetes",
"version": "0.0.1",
"meterVersionRequired": "4.5.0-778",
"unsupportedPlatforms": [],
"tags": "kubernetes",
"icon": "icon.png",
"command": "node index.js",
"ignore": "node_modules",
"metrics": [
"KUBERNETES_NODE_CPU_UTILIZATION",
"KUBERNETES_NODE_MEMORY_UTILIZATION",
"KUBERNETES_POD_CPU_UTILIZATION",
"KUBERNETES_POD_MEMORY_UTILIZATION"
],
"postExtract": "npm install",
"paramSchema": [
{
"title": "Kubernetes Hipster URL",
"name": "hipsterUrl",
"description": "URL reference to Kubernetes Hipster",
"type": "string",
"default": "http://heapster.kube-system.svc.cluster.local",
"required": true
},
{
"title": "Source Prefix",
"name": "sourcePrefix",
"description": "The prefix to use for the metric sources (sources will be <prefix>.cluster and <prefix>.pod.<pod-name>).",
"type": "string",
"default": "",
"required": false
},
{
"title": "Poll Interval (ms)",
"name": "pollInterval",
"description": "The Poll Interval (in milliseconds) to call the command.",
"type": "integer",
"default": 5000,
"required": false
}
]
}