README.md in bidu-house-0.2.0 vs README.md in bidu-house-0.2.1
- old
+ new
@@ -61,5 +61,22 @@
5. Customize your request for multiple reports
```
wget http://localhost:3000/health-check/status?period=3.days&threshold=0.005
wget http://localhost:3000/health-check/late-status?period=1.hours&threshold=0.1
```
+
+ 6. Use the status json to understand what is wrong
+ ```json
+ {
+ "status": "error",
+ "failures": {
+ "ids": [10, 14],
+ "percentage": 0.5,
+ "status": "error"
+ },
+ "delays": {
+ "ids": [12],
+ "percentage": 0.001,
+ "status": "ok"
+ }
+ }
+ ```