-
Notifications
You must be signed in to change notification settings - Fork 8
/
plugin.json
62 lines (59 loc) · 2.15 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
{
"name" : "Boundary Apache Plugin",
"version" : "2.0",
"tags" : "apache",
"description" : "Collects metrics from a Apache HTTP Server",
"icon" : "icon.png",
"command" : "node index.js",
"command_lua" : "boundary-meter init.lua",
"postExtract" : "npm install",
"postExtract_lua" : "",
"ignore" : "node_modules",
"metrics" : [
"APACHE_REQUESTS",
"APACHE_BYTES",
"APACHE_BYTES_PER_REQUEST",
"APACHE_CPU",
"APACHE_BUSY_WORKERS",
"APACHE_IDLE_WORKERS",
"APACHE_BUSY_RATIO"
],
"dashboards" : [
{ "name": "Apache Server", "layout": "d-w=4&d-h=2&d-pad=5&d-bg=none&d-sg-cpu=0-0-1-1-t&d-g-APACHE_CPU=0-0-1-1-b&d-g-APACHE_REQUESTS=1-0-1-1&d-g-APACHE_BUSY_RATIO=0-1-1-1&d-sg-no=3-1-1-1&d-sg-ni=2-1-1-1&d-g-APACHE_BUSY_WORKERS=1-1-1-1&d-g-APACHE_BYTES=2-0-1-1&d-g-APACHE_BYTES_PER_REQUEST=3-0-1-1"}
],
"paramSchema" : [
{
"title" : "Server-Status URL",
"name" : "url",
"description" : "The URL endpoint of where the Apache HTPP server statistics are hosted.",
"type" : "string",
"default" : "http://localhost/server-status"
},
{
"title" : "Username",
"name" : "username",
"description" : "If the URL is password protected, what username should the plugin use to authenticate",
"type" : "string"
},
{
"title" : "Password",
"name" : "password",
"description" : "If the URL is password protected, what password should the plugin use to authenticate",
"type" : "password"
},
{
"title" : "Poll Interval",
"name" : "pollInterval",
"description" : "The Poll Interval in milliseconds. Ex. 1000",
"type" : "number",
"default" : 1000,
"required" : false
},
{
"title" : "Source",
"name" : "source",
"description" : "Name identifying the specific instance of Apache HTTP server which is displayed in dashboards",
"type" : "string"
}
]
}