Changes between Version 7 and Version 8 of HealthMonitoring

Show
Ignore:
Timestamp:
03/25/12 23:23:45 (14 months ago)
Author:
jesseeichar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HealthMonitoring

    v7 v8  
    3535 
    3636Metrics has 2 Apis, one for configuring the health checks and another for performing the configured health checks.  The 'out' Apis include JMX and JSON.  For this proposal 4 new servlet mappings will be defined for accessing the monitor information: 
    37   - /metrics?pretty=(true|false) - returns a json response with all of the registered metrics 
    38   - /threads - returns a text representation of the stack dump at the moment of the call 
    39   - /healthcheck - returns 200 if all checks pass or 500 Internal Service Error if one fails (and human readable response of the failures) 
     37  - /monitor/metrics?[pretty=(true|false)][class=metric.name] - returns a json response with all of the registered metrics 
     38  - /monitor/threads - returns a text representation of the stack dump at the moment of the call 
     39  - /monitor/healthcheck - returns 200 if all checks pass or 500 Internal Service Error if one fails (and human readable response of the failures) 
    4040 
    4141A link will be made from the Admin/config.info page will be made to these servlets so a administrator can easily access this data.  In a future implementation we can possible add a more attractive UI for viewing the information.