Changes between Version 1 and Version 2 of HealthMonitoring


Ignore:
Timestamp:
Mar 25, 2012, 6:01:37 AM (12 years ago)
Author:
jesseeichar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HealthMonitoring

    v1 v2  
    1 The Metrics library(http://metrics.codahale.com/) by Yammer has excellent support for monitoring the performance and health of a system.  It provides a consistent API for developers to register some vital statistics of an application.  For example in Geonetwork we might want to have a monitor system (like nagios or statd) check the health of the system which would include checking the database connection, ability to open files, check the index, etc...  In addition we might want to attach a Metrics appended to the logging to track the number of errors being logged and the monitor system would be able to warn of a potentially unstable system based on the number of errors being logged.
     1=  =
     2
     3|| '''Date''' || 2012/03/26 ||
     4|| '''Contact(s)''' || [http://wiki.osgeo.org/wiki/User:Jeichar Jesse Eichar] ||
     5|| '''Last edited''' || ||
     6|| '''Status''' || draft ||
     7|| '''Assigned to release''' || 2.8 ||
     8|| '''Resources''' || R&D Camptocamp ||
     9
     10== Overview ==
     11 
     12=== Proposal Type ===
     13 * '''Type''': Now Module
     14 * '''App''': !GeoNetwork
     15 * '''Module''':
     16
     17=== Links ===
     18 
     19 * '''Email discussions''':
     20 * '''IRC discussions''':
     21 
     22=== Voting History ===
     23
     24 * None as yet
     25
     26----
     27
     28== Motivations ==
     29
     30== Proposal ==
     31The Metrics library (http://metrics.codahale.com/) by Yammer has excellent support for monitoring the performance and health of a system.  It provides a consistent API for developers to register some vital statistics of an application.  For example in Geonetwork we might want to have a monitor system (like nagios or statd) check the health of the system which would include checking the database connection, ability to open files, check the index, etc...  In addition we might want to attach a Metrics appended to the logging to track the number of errors being logged and the monitor system would be able to warn of a potentially unstable system based on the number of errors being logged.
    232
    333Metrics has 2 Apis, one for configuring the health checks and another for performing the configured health checks.  The 'out' Apis include JMX, JSON as well as HTML pages that could be integrated into the admin user interface.
     
    1242 - Request Meter - monitor the number of requests that made.  This is to potentially detect DOS attacks
    1343 - Pending Request Counter - Track the current number of requests being processed.
     44
     45=== Backwards Compatibility Issues ===
     46
     47A new dependency and update to web.xml optionally
     48
     49== Risks ==
     50
     51Nothing notable
     52
     53== Participants ==
     54 * As above