Ask HN: Standard server health/statistics REST API
If you're implementing a REST API in say, Node.js, is there any standardized set of endpoints you can implement for reporting basic server stats, such as uptime, number of transactions processed to date, etc.
A very crude example might look like this
GET /stats
{
"uptime" : 1234,
"transactions today": 234
}Rather than re-invent the wheel I wanted to see if there were any standard formats for this.
0 comments
[ 830 ms ] story [ 678 ms ] threadNo comments yet.