Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Standard server health/statistics REST API
1 point by beamatronic on Aug 14, 2014 | hide | past | favorite
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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: