Portal statistics events collection is injected at multiple points in the portal engine. Some examples are provided below.
For user events, the SecurityValveImpl
logs a user login event in getSubject(RequestContext request)
.
statistics.logUserLogin(request, 0);
For portlet events, the RenderingJobImpl
invoked in RenderingJob
buildRenderingJob
logs
a portlet access event.
statistics.logPortletAccess(requestContext, fragment.getName(), PortalStatistics.HTTP_OK, end - start);