To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
here’s an example:
GET /v2/apps/f2c13640-a2f3-4d22-b7e1-019eed09754b/stats
{
"0": {
"state": "RUNNING",
"stats": {
"name": "hello-go",
"uris": ["hello-go-james.cfapps.io"],
"host": "10.10.81.19",
"port": 62847,
"uptime": 35,
"mem_quota": 268435456,
"disk_quota": 1073741824,
"fds_quota": 16384,
"usage": {
"time": "2014-01-17
07:40:04
+0000",
"cpu": 0.0,
"mem": 1720320,
"disk": 6451200
}
}
},
"2": {
"state": "RUNNING",
"stats": {
"name": "hello-go",
"uris": ["hello-go-james.cfapps.io"],
"host": "10.10.81.29",
"port": 62287,
"uptime": 10,
"mem_quota": 268435456,
"disk_quota": 1073741824,
"fds_quota": 16384,
"usage": {
"time": "2014-01-17
07:40:04
+0000",
"cpu": 0,
"mem": 1720320,
"disk": 6451200
}
}
},
"1": {
"state": "RUNNING",
"stats": {
"name": "hello-go",
"uris": ["hello-go-james.cfapps.io"],
"host": "10.10.81.25",
"port": 62597,
"uptime": 10,
"mem_quota": 268435456,
"disk_quota": 1073741824,
"fds_quota": 16384,
"usage": {
"time": "2014-01-17
07:40:04
+0000",
"cpu": 0,
"mem": 1724416,
"disk": 6451200
}
}
},
"3": {
"state": "RUNNING",
"stats": {
"name": "hello-go",
"uris": ["hello-go-james.cfapps.io"],
"host": "10.10.17.11",
"port": 64259,
"uptime": 9,
"mem_quota": 268435456,
"disk_quota": 1073741824,
"fds_quota": 16384,
"usage": {
"time": "2014-01-17
07:40:04 +0000",
"cpu": 0,
"mem": 1708032,
"disk": 6451200
}
}
}
}
as app instances come and go