joyent-portal/ui/etc/containerpilot.json

34 lines
665 B
JSON
Raw Normal View History

{
"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": [
2017-01-25 17:49:05 +02:00
],
"telemetry": {
"port": 9090,
"sensors": [
{
"name": "ui_memory_percent",
"help": "percentage of memory used",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensor", "memory"]
},
{
"name": "ui_cpu_load",
"help": "cpu load",
"type": "gauge",
"poll": 5,
"check": ["/bin/sensor", "cpu"]
}
]
}
}