UNPKG
upbeat
Version:
latest (0.2.3-pre13)
0.3.0-beta2
0.3.0-beta1
0.3.0-alpha1
0.2.3-pre9
0.2.3-pre8
0.2.3-pre7
0.2.3-pre6
0.2.3-pre5
0.2.3-pre4
0.2.3-pre3
0.2.3-pre2
0.2.3-pre13
0.2.3-pre12
0.2.3-pre11
0.2.3-pre10
0.2.3-pre1
0.2.2
0.2.1
0.2.0-pre5
0.2.0-pre4
0.2.0-pre3
0.2.0-pre2
0.2.0-pre1
0.1.16-pre4
0.1.16-pre3
0.1.16-pre2
0.1.16-pre1
0.1.15
0.1.14-pre9
0.1.14-pre8
0.1.14-pre7
0.1.14-pre4
0.1.14-pre3
0.1.14-pre2
0.1.14-pre13
0.1.14-pre12
0.1.14-pre11
0.1.14-pre10
0.1.14-pre1
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.0.3
0.0.2
0.0.1
Fast health and performance monitoring with process handling
jeffsu/upbeat
upbeat
/
examples
/
pg.yml
12 lines
(11 loc)
•
318 B
YAML
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
services:
pg:
actions:
default:
strategy:
pg
username:
honghao
host:
localhost
port:
5432
db:
template1
sql:
"SELECT * FROM pg_database"
lambda:
"function (res) { try { return res.rows.length > 0 } catch (e) { return false; } }"