-
Notifications
You must be signed in to change notification settings - Fork 7
/
plugin.json
70 lines (68 loc) · 2.42 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
{
"name": "Boundary NGINX Free plugin",
"version" : "0.9.0",
"meterVersionRequired" : "4.2.0-611",
"os" : [ "Linux", "Windows", "SmartOS", "OS X" ],
"tags": "nginx-free",
"description": "Boundary Nginx Plugin - Displays NGINX Free metrics",
"icon" : "icon.png",
"command" : "node index.js",
"command_lua" : "boundary-meter init.lua",
"postExtract" : "npm install",
"postExtract_lua" : "",
"ignore" : "node_modules",
"metrics" : [
"NGINX_ACTIVE_CONNECTIONS",
"NGINX_READING",
"NGINX_WRITING",
"NGINX_WAITING",
"NGINX_HANDLED",
"NGINX_NOT_HANDLED",
"NGINX_REQUESTS",
"NGINX_REQUESTS_PER_CONNECTION",
"NGINX_RESPONSES",
"NGINX_TRAFFIC_SENT",
"NGINX_TRAFFIC_RECEIVED"
],
"dashboards" : [
{
"name" : "NGINX Free",
"layout" : "d-w=3&d-h=2&d-pad=5&d-bg=none&d-g-NGINX_ACTIVE_CONNECTIONS=0-0-1-1&d-g-NGINX_READING=2-1-1-1-t&d-g-NGINX_WRITING=2-1-1-1-b&d-g-NGINX_REQUESTS=1-0-1-1&d-g-NGINX_HANDLED=1-1-1-1-t&d-g-NGINX_NOT_HANDLED=1-1-1-1-b&d-g-NGINX_REQUESTS_PER_CONNECTION=2-0-1-1&d-g-NGINX_WAITING=0-1-1-1"
}
],
"paramSchema" : [
{
"title" : "Poll Interval",
"name" : "pollInterval",
"description" : "The Poll Interval in milliseconds. Ex. 1000",
"type" : "number",
"default" : 1000,
"required" : false
},
{
"title" : "Source",
"name" : "source",
"description" : "The Source to display in the legend for the nginx data. It will default to the hostname of the server",
"type" : "string"
},
{
"title" : "Statistics URL",
"name" : "url",
"description" : "The URL endpoint of where the nginx statistics are hosted.",
"type" : "string",
"default" : "http://127.0.0.1/nginx_status"
},
{
"title" : "Username",
"name" : "username",
"description" : "If the endpoint is password protected, what username we should use when calling it.",
"type" : "string"
},
{
"title" : "Password",
"name" : "password",
"description" : "If the endpoint is password protected, what password we should use when calling it.",
"type" : "password"
}
]
}