...
|
...
|
@@ -71,7 +71,7 @@ function handleClientError(scope, item) { |
|
|
const ipInfo = ipService.getIsp(scope.ip);
|
|
|
const row = Object.assign(msg2row.errorRouter(data), ipInfo, {ip: scope.ip});
|
|
|
|
|
|
logger.debug('[client] error info [%s]', JSON.stringify(row));
|
|
|
logger.info('[client] error info [%s]', JSON.stringify(row));
|
|
|
errorRouterSqlSender.addMessage(row);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -124,7 +124,7 @@ function handleClientFirst(scope, item) { |
|
|
}
|
|
|
});
|
|
|
|
|
|
logger.debug('[client] slow route info [%s]', JSON.stringify(data));
|
|
|
logger.info('[client] slow route info [%s]', JSON.stringify(data));
|
|
|
|
|
|
if (duration > config.slowRoute.min && duration < config.slowRoute.max) {
|
|
|
slowRouterSqlSender.addMessage(msg2row.slowRouter(data));
|
...
|
...
|
@@ -166,7 +166,7 @@ async function handleClientTiming(scope, item) { |
|
|
|
|
|
_.merge(data, ipInfo);
|
|
|
|
|
|
logger.debug('[client] perf info [%s]', JSON.stringify(data));
|
|
|
logger.info('[client] perf info [%s]', JSON.stringify(data));
|
|
|
|
|
|
perfReportSqlSender.addMessage(data);
|
|
|
}
|
...
|
...
|
|