commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1532258 - /commons/sandbox/monitoring/trunk/web/src/main/java/org/apache/commons/monitoring/web/session/MonitoringSessionListener.java
Date Tue, 15 Oct 2013 09:18:14 GMT
Author: rmannibucau
Date: Tue Oct 15 09:18:14 2013
New Revision: 1532258

URL: http://svn.apache.org/r1532258
Log:
typo (plural) + using context path in counter name instead of role name for a better filtering

Modified:
    commons/sandbox/monitoring/trunk/web/src/main/java/org/apache/commons/monitoring/web/session/MonitoringSessionListener.java

Modified: commons/sandbox/monitoring/trunk/web/src/main/java/org/apache/commons/monitoring/web/session/MonitoringSessionListener.java
URL: http://svn.apache.org/viewvc/commons/sandbox/monitoring/trunk/web/src/main/java/org/apache/commons/monitoring/web/session/MonitoringSessionListener.java?rev=1532258&r1=1532257&r2=1532258&view=diff
==============================================================================
--- commons/sandbox/monitoring/trunk/web/src/main/java/org/apache/commons/monitoring/web/session/MonitoringSessionListener.java
(original)
+++ commons/sandbox/monitoring/trunk/web/src/main/java/org/apache/commons/monitoring/web/session/MonitoringSessionListener.java
Tue Oct 15 09:18:14 2013
@@ -54,7 +54,7 @@ public class MonitoringSessionListener i
         if (contextPath == null || contextPath.isEmpty()) {
             contextPath = "/";
         }
-        counter = Repository.INSTANCE.getCounter(new Counter.Key(new Role("sessions-" + contextPath,
Unit.UNARY), "session"));
+        counter = Repository.INSTANCE.getCounter(new Counter.Key(new Role("sessions", Unit.UNARY),
"sessions-" + contextPath));
     }
 
     @Override



Mime
View raw message