Skip to content

Instantly share code, notes, and snippets.

@thisandagain
Last active December 14, 2015 15:49
Show Gist options
  • Save thisandagain/5110441 to your computer and use it in GitHub Desktop.
Save thisandagain/5110441 to your computer and use it in GitHub Desktop.
DIY's API /health route
{
"head": {
"code": 200,
"status": "OK",
"url": "/health",
"method": "GET",
"stamp": "2013-03-07T18:21:26.569Z"
},
"response": {
"uptime": 23,
"load": [
0.56640625,
0.4541015625,
0.40087890625
],
"memory": 10658648064,
"database": {
"primary": {
"size": 10,
"available": 2,
"waiting": 0
},
"replica": {
"size": 10,
"available": 6,
"waiting": 0
}
},
"cache": {
"connected": true,
"ready": true
},
"indicator": "#00a8ff"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment