-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathplugin.json
50 lines (50 loc) · 1.35 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
45
46
47
48
49
50
{
"description": "Displays important REDIS metrics",
"icon": "icon.png",
"command": "node index.js",
"postExtract": "npm install",
"ignore": "node_modules",
"metrics": [
"REDIS_COMMANDS_PROCESSED",
"REDIS_CONNECTED_CLIENTS",
"REDIS_CONNECTIONS_RECEIVED",
"REDIS_KEYS_EXPIRED",
"REDIS_KEY_EVICTIONS",
"REDIS_KEY_HITS",
"REDIS_KEY_MISSES",
"REDIS_USED_MEMORY"
],
"dashboards": [
{
"name": "redis",
"layout": "d-w=3&d-h=2&d-pad=5&d-bg=none&d-g-REDIS_CONNECTED_CLIENTS=0-0-1-1&d-g-REDIS_KEY_HITS=1-0-1-1-t&d-g-REDIS_KEY_MISSES=1-0-1-1-b&d-g-REDIS_COMMANDS_PROCESSED=2-0-1-1&d-g-REDIS_CONNECTIONS_RECEIVED=2-1-1-1&d-g-REDIS_KEYS_EXPIRED=1-1-1-1-t&d-g-REDIS_KEY_EVICTIONS=1-1-1-1-b&d-g-REDIS_USED_MEMORY=0-1-1-1"
}
],
"paramSchema": [
{
"title": "Source",
"name": "source",
"description": "The source to display in the legend for the REDIS data.",
"type": "string"
},
{
"title": "Port",
"name": "port",
"description": "The redis port.",
"type": "integer",
"default": 6379
},
{
"title": "Host",
"name": "host",
"description": "The redis hostname.",
"type": "string"
},
{
"title": "Password",
"name": "password",
"description": "Password to the redis server.",
"type": "password"
}
]
}