-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathplugin.json
68 lines (65 loc) · 2.22 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"description" : "Displays important mongodb metrics",
"icon" : "icon.png",
"command" : "node index.js",
"postExtract" : "npm install",
"ignore" : "node_modules",
"metrics" : [
"MONGO_BTREE_HITS",
"MONGO_BTREE_MISSES",
"MONGO_BTREE_MISS_RATIO",
"MONGO_CONNECTIONS",
"MONGO_CONNECTIONS_AVAILABLE",
"MONGO_CONNECTION_LIMIT",
"MONGO_GLOBAL_LOCK",
"MONGO_MEM_RESIDENT",
"MONGO_MEM_VIRTUAL",
"MONGO_MEM_MAPPED",
"MONGO_OPS_INSERTS",
"MONGO_OPS_QUERY",
"MONGO_OPS_UPDATE",
"MONGO_OPS_DELETE",
"MONGO_OPS_GETMORE",
"MONGO_OPS_COMMAND"
],
"dashboards" : [
{
"name" : "mongodb",
"layout" : "d-w=4&d-h=3&d-pad=5&d-bg=none&d-g-MONGO_CONNECTIONS=0-0-1-1&d-g-MONGO_CONNECTION_LIMIT=1-0-1-1&d-g-MONGO_BTREE_HITS=0-1-1-1&d-g-MONGO_BTREE_MISSES=1-1-1-1&d-g-MONGO_BTREE_MISS_RATIO=2-1-1-1&d-g-MONGO_GLOBAL_LOCK=3-1-1-1&d-g-MONGO_MEM_VIRTUAL=3-0-1-1&d-g-MONGO_MEM_RESIDENT=2-0-1-1&d-g-MONGO_OPS_INSERTS=0-2-1-1&d-g-MONGO_OPS_UPDATE=1-2-1-1&d-g-MONGO_OPS_DELETE=2-2-1-1&d-g-MONGO_OPS_QUERY=3-2-1-1"
}
],
"paramSchema" : [
{
"title" : "Hostname",
"name" : "hostname",
"description" : "The hostname of MongoDB",
"type" : "string",
"default": "127.0.0.1"
},
{
"title" : "Port",
"name" : "port",
"description" : "Port to use when accessing MongoDB",
"type" : "string",
"default": 27017
},
{
"title" : "Username",
"name" : "username",
"description" : "(optional) Username to access MongoDB",
"type" : "string"
},
{
"title" : "Password",
"name" : "password",
"description" : "(optional) Pasword to access MongoDB",
"type" : "password"
},
{
"title" : "Source",
"name" : "source",
"description" : "(optional) The Source to display in the legend for the MongoDB data. It will default to the hostname of the server",
"type" : "string"
}
]
}