-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathplugin.json
83 lines (80 loc) · 2.8 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name" : "Boundary MySQL Plugin",
"version" : "0.9.0",
"meterVersionRequired": "4.2.0-611",
"tags" : "mysql",
"description" : "Displays important mysql metrics",
"icon" : "icon.png",
"command" : "node index.js",
"postExtract" : "npm install",
"command_lua" : "boundary-meter init.lua",
"postExtract_lua" : "",
"ignore" : "node_modules",
"metrics" : [
"MYSQL_CONNECTIONS",
"MYSQL_ABORTED_CONNECTIONS",
"MYSQL_BYTES_IN",
"MYSQL_BYTES_OUT",
"MYSQL_SLOW_QUERIES",
"MYSQL_ROW_MODIFICATIONS",
"MYSQL_ROW_READS",
"MYSQL_TABLE_LOCKS",
"MYSQL_TABLE_LOCKS_WAIT",
"MYSQL_COMMITS",
"MYSQL_ROLLBACKS",
"MYSQL_QCACHE_MEMORY",
"MYSQL_QCACHE_HITS",
"MYSQL_QCACHE_PRUNES"
],
"dashboards" : [
{
"name" : "MySQL",
"layout": "d-w=4&d-h=5&d-pad=5&d-bg=black&d-g-MYSQL_TABLE_LOCKS_WAIT=3-4-1-1&d-g-MYSQL_QCACHE_PRUNES=3-3-1-1&d-g-MYSQL_ROW_READS=2-2-1-1&d-g-MYSQL_ROW_MODIFICATIONS=2-0-1-1&d-g-MYSQL_COMMITS=2-1-1-1&d-g-MYSQL_QCACHE_MEMORY=2-3-1-1&d-g-MYSQL_ROLLBACKS=2-4-1-1&d-g-MYSQL_CONNECTIONS=0-0-2-1&d-g-MYSQL_QCACHE_HITS=0-1-2-1&d-g-MYSQL_TABLE_LOCKS=0-2-2-1&d-g-MYSQL_BYTES_IN=0-3-2-2-t&d-g-MYSQL_BYTES_OUT=0-3-2-2-b&d-g-MYSQL_ABORTED_CONNECTIONS=3-2-1-1&d-g-MYSQL_SLOW_QUERIES=3-0-1-2"
}
],
"paramSchema" : [
{
"title" : "Hostname",
"name" : "hostname",
"description" : "The hostname of the MySQL Server",
"type" : "string",
"default" : "127.0.0.1",
"required" : true
},
{
"title" : "Port",
"name" : "port",
"description" : "Port to use when accessing the MySQL Server",
"type" : "string",
"default": 3306
},
{
"title" : "Username",
"name" : "username",
"description" : "Username to access the MySQL database (Username is required)",
"type" : "string",
"default" : ""
},
{
"title" : "Password",
"name" : "password",
"description" : "Password to access the MySQL database (Password is required)",
"type" : "password",
"default" : ""
},
{
"title": "Poll Interval",
"name": "pollInterval",
"description": "How often (in milliseconds) to poll for metrics.",
"type" : "integer",
"default" : 1000,
"required" : false
},
{
"title" : "Source",
"name" : "source",
"description" : "The Source to display in the legend for the mysql data. It will default to the hostname of the server",
"type" : "string"
}
]
}