Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
Ard's idea:
Another thing that might be quite interesting to measure with HDC from CMS requests : We have as you know the server side cms requests over 127.0.0.1. I think it is quite interesting to see how much time is spend in the server side rest calls. It basically boils down to
org.hippoecm.hst.cmsrest.services.BlueprintsResource
org.hippoecm.hst.cmsrest.services.ChannelsResource
org.hippoecm.hst.cmsrest.services.DocumentsResource
org.hippoecm.hst.cmsrest.services.SitesResource
To avoid all the Task related boilerplate overhead, would it be an idea to use Spring aop in org/hippoecm/hst/cmsrest/SpringComponentManager-cmsrest.xml to have all the methods from the API (BlueprintService, ChannelsService, etc) automatically be wrapped with something like
if (HDC.isStarted())Unknown macro: { task = HDC.getCurrentTask().startSubtask('the-invoked-api-method-name-and-class'); }WDYT? Is that feasible? That would track all server side rest calls from CMS to site in HDC in one go
Attachments
Issue Links
- relates to
-
CMS-9518 Enable HDC Reporting in CMS application
- Closed