Commit 57bb0962 authored by yujiwei's avatar yujiwei

update:change mon ms 打掉

parent 16949fb7
......@@ -107,7 +107,12 @@ class MonUtil{
//耗时打点
if(!empty($request_time) && is_numeric($request_time) && $request_time != -799){
$result = self::timing(($db_name.'.'.$host.$operator), "TotalTime", $request_time,'s');
$type = 'ms';
if ($request_time < 1) {
$request_time *= 1000;
$type = 's';
}
$result = self::timing(($db_name.'.'.$host.'.'.$operator), "TotalTime", $request_time,$type);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment