joyent-portal/legacy/ui/etc/containerpilot.json
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00

48 lines
1020 B
JSON

{
"consul": "{{ .CONSUL }}:8500",
"services": [
{
"name": "joyent-portal-ui",
"port": 8080,
"health": "/usr/bin/curl -o /dev/null --fail -s http://localhost:8080/",
"poll": 3,
"ttl": 10
}
],
"backends": [
],
"telemetry": {
"port": 9090,
"sensors": [
{
"name": "ui_memory_percent",
"help": "percentage of memory used",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensors", "memory"]
},
{
"name": "ui_cpu_load",
"help": "cpu load",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensors", "cpu"]
},
{
"name": "ui_disk_capacity",
"help": "disk capacity",
"type": "gauge",
"poll": 60,
"check": ["/bin/sensors", "diskcapacity"]
},
{
"name": "ui_disk_usage",
"help": "disk usage",
"type": "gauge",
"poll": 60,
"check": ["/bin/sensors", "diskusage"]
}
]
}
}