forked from boundary/boundary-plugin-consul-healthchecks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
38 lines (36 loc) · 1.09 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
{
"name" : "Boundary Consul Healthcheck Plugin",
"version" : "0.0.1",
"meterVersionRequired" : "4.2.1-618",
"unsupportedPlatforms" : [ ],
"tags" : "consul",
"description" : "Queries Consul health checks and returns events to Boundary on a status change of a given health check.",
"icon" : "icon.png",
"command_lua" : "boundary-meter init.lua",
"postExtract_lua" : "",
"command" : "boundary-meter init.lua",
"postExtract" : "",
"ignore" : "node_modules",
"metrics" : [
"CONSUL_HEALTHCHECK_STATE_CHANGES",
"CONSUL_HEALTHCHECK_COUNT"
],
"paramSchema" : [
{
"title" : "Poll Interval (sec)",
"name" : "pollInterval",
"description" : "The Poll Interval to call your endpoint in seconds. Ex. 30",
"type" : "integer",
"default" : 30,
"required" : true
},
{
"title": "Detailed Info",
"name": "detailedInfo",
"description": "(optional) Set to true to display additional info on passing health checks (default = not set i.e. false)",
"type": "boolean",
"default": false,
"required": false
}
]
}