mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
13.35.2013 dc50d3e793098123cf7417713f2790e862e13bbb
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, May 13, 2013 14:35 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, May 13, 2013 14:35 +0200
commitdc50d3e793098123cf7417713f2790e862e13bbb
tree b2302614430bf79e63756ad5a3414ca6607dbb52 tree | zip | gz
parent aa8d662c1708373bcc2c46cf473a336c0c9f8a1a view | diff
OPENDJ-858 (CR-1651) Add stats tracking to HTTP client connections 

Added support for monitoring statistics of the HTTP connection handler:
It monitors: total number of requests, and number of delete, get, patch, post and put requests.
It also monitors the internal LDAP operations to display how the server is performing.


HTTPConnectionHandler.java, HTTPClientConnection.java, CollectClientConnectionsFilter.java, SdkConnectionAdapter.java:
Added support for statistics.

config.ldif, HTTPConnectionHandlerConfiguration.xml, HTTPConnectionHandlerCfgDefn.properties:
Added "keep-stats" property.

02-config.ldif:
Added attributes "ds-mon-http-*" for monitoring HTTP statistics.

LDAPStatistics.java:
Changed getMonitorData() return type to List.
Made createAttribute protected.

HTTPStatsProbe.java, HTTPStatistics.java: ADDED
2 files added
9 files modified
663 ■■■■■ changed files
opends/resource/config/config.ldif 2 ●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 46 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/HTTPConnectionHandlerConfiguration.xml 26 ●●●●● diff | view | raw | blame | history
opends/src/admin/messages/HTTPConnectionHandlerCfgDefn.properties 2 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilter.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/HTTPClientConnection.java 151 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/HTTPConnectionHandler.java 107 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/HTTPStatistics.java 144 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/HTTPStatsProbe.java 76 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/http/SdkConnectionAdapter.java 94 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPStatistics.java 10 ●●●● diff | view | raw | blame | history