...
#AmazonWebServices CloudWatch Profiler's Trigger time in milliseconds
org.sagebionetworks.cloud.watch.trigger=60000
How To Modify/Expand
The CloudWatchProfiler uses Spring AOP to collect the latency information. It can be expanded or modified to work in a different location. See the Services-repository project. Under the profiler.org.sagebionetworks.cloudwatch package, locate the ControllerProfiler.java class. The critical method is the doBasicProfiling. See the @Around line above the doBasicProfiling method to look into adjusting/modifying which package it collects latency information for. It currently reads, but the "around" can be modified to another class, or package, etc.
@Around("execution(* org.sagebionetworks.repo.web.controller.DefaultController.*(..))")