Menu

#4478 [HHQ-4345] The value of acceptable method duration is set to

Bug
open
None
5
2012-10-09
2010-10-05
No

http://jira.hyperic.com/browse/HHQ-4345
Issue:


If a hq-server method takes longer than an acceptable duration, the server logs a message from PerformanceMonitor about this method.



In 4.3, this value was 60000 ms per tweak.properties (and tweak.properties was an editable file). In 4.5, the value seems to be embedded in hq-server jar and so no longer configurable.



Per Holly, in the code it's set to 5 mins in aop-context.xml



<bean id="performanceMonitorAspect" class="org.hyperic.hq.monitor.aop.aspects.PerformanceMonitor">


        <description>Monitors duration of execution on transactional methods in the service layer.</description>


        <property name="maximumDuration" value="300000"/>


        <property name="warningMessage" value="Method exceeded acceptable duration: "/>


    </bean>



This value being 5 mins is blocking detailed logs for performance tests where indicator pages are taking longer than 3 mins

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.