tracker issue : CF-3401429

select a category, or use search below
(searches all categories and all time range)
Title:

CF10 : GetMetricsData function returns incorrect values with "simple_load","prev_req_time", and "avg_req_time" parameters options.

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Piyush Kumar Nayak)

Created: 12/07/2012

Components: Server Monitoring

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: 10,283111 / 283498

Priority/Frequency: Normal / All users will encounter

Locale/System: English,Japanese / Win XP All

Vote Count: 0

Problem:
CF10 : GetMetricsData function returns incorrect values with "simple_load","prev_req_time", and "avg_req_time" parameters options.

Method:
Save the following page as a test.cfm in the default web root and call it in the browser.
<cfoutput>
#GetMetricData("simple_load")#<br>
#GetMetricData("prev_req_time")#<br>
#GetMetricData("avg_req_time")#<br>
</cfoutput>

Result:
coldfusion.server.jrun4.metrics.SimpleLoadMetric@4607b5
coldfusion.server.jrun4.metrics.MetricsServiceImpl$PrevReqTimeMetric@1a437b6
coldfusion.server.jrun4.metrics.MetricsServiceImpl$AvgReqTimeMetric@459efb

Expected:
should return integer values.
http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6be2.html

Workaround: 
cfstat can perhaps be used for the same purpose.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3401429

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments: