Commit a6fdc2dd authored by yujiwei's avatar yujiwei

update:change mon

parent 57bb0962
......@@ -66,7 +66,7 @@ class MonUtil{
if (empty($module)) {
//默认取url 中的域名作为module
$domain = $_SERVER['SERVER_NAME'] ?? 'unknow_domain';
$module = $domain.($request_module ?? 'other_depent');
$module = $domain.'.'.($request_module ?? 'other_depent');
}
//接口返回状态码打点
......@@ -78,7 +78,7 @@ class MonUtil{
//接口请求响应总时间打点
if(!empty($request_time) && is_numeric($request_time) && $request_time != -899){
$result .= self::timing((string)$request_uri, "TotalTime", $request_time);
$result .= self::timing($module.'.'.(string)$request_uri, "TotalTime", $request_time);
}
}
return $result;
......
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