basecamp/easymon — pull request #7 by anoldguy (2014-06-12 19:17:10+00:00)
Title: Add xml and json responses to the checks for more than just text processing.

This lets us do things like this:

````
GET /up.json
````

````json
{
"redis": {
"success": true,
"message": "Up",
"timing": "0.810"
},
"database": {
"success": true,
"message": "Up",
"timing": "0.431"
},
"memcached": {
"success": true,
"message": "Up",
"timing": "0.550"
},
"http": {
"success": false,
"message": "Down",
"timing": "0.846"
}
}
````
or
````
GET /up.xml
````

````xml

redis
0.882
true
Up

database
0.429
true
Up

memcached
5.383
true
Up

http
0.830
false
Down

````