Skip to content

Commit f1e5b29

Browse files
committed
feature/1.8-Improve system observability
1 parent 119e03f commit f1e5b29

8 files changed

Lines changed: 24 additions & 8 deletions

File tree

frontend/packages/common/src/components/aoplatform/UnUsedWordForTranslate.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ export const TranslateWord = () => {
189189
{$t('鉴权名称')}
190190
{$t('日志输出')}
191191
{$t('响应时间')}
192+
{$t('时间戳')}
192193
</>
193194
)
194195
}

frontend/packages/common/src/locales/keyHashMap.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@
247247
"消费者 IP": "K1bc5e0a3",
248248
"鉴权名称": "K6f39ea21",
249249
"日志输出": "K3c722abd",
250+
"响应时间": "K1be06929",
251+
"时间戳": "K5e51f5d",
250252
"暂无操作权限,请联系管理员分配。": "K23fda291",
251253
"微信小程序": "K4618cb0a",
252254
"获取文件,需填路径": "Ka854f511",

frontend/packages/common/src/locales/scan/en-US.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,5 +965,6 @@
965965
"K74a5fbc0": "Log Output Settings",
966966
"Kc8bf447": "Request Log",
967967
"Kf8525cf2": "No Data",
968-
"K1be06929": "Response Time"
968+
"K1be06929": "Response Time",
969+
"K5e51f5d": "Timestamp"
969970
}

frontend/packages/common/src/locales/scan/ja-JP.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,5 +987,6 @@
987987
"K74a5fbc0": "ログ出力設定",
988988
"Kc8bf447": "リクエストログ",
989989
"Kf8525cf2": "データがありません",
990-
"K1be06929": "応答時間"
990+
"K1be06929": "応答時間",
991+
"K5e51f5d": "タイムスタンプ"
991992
}

frontend/packages/common/src/locales/scan/zh-CN.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,5 +916,6 @@
916916
"K74a5fbc0": "日志输出设置",
917917
"Kc8bf447": "请求日志",
918918
"Kf8525cf2": "暂无数据",
919-
"K1be06929": "响应时间"
919+
"K1be06929": "响应时间",
920+
"K5e51f5d": "时间"
920921
}

frontend/packages/common/src/locales/scan/zh-TW.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,5 +987,6 @@
987987
"K74a5fbc0": "日誌輸出設定",
988988
"Kc8bf447": "請求日誌",
989989
"Kf8525cf2": "暫無資料",
990-
"K1be06929": "回應時間"
990+
"K1be06929": "回應時間",
991+
"K5e51f5d": "時間"
991992
}

frontend/packages/core/src/const/system/const.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,8 +549,10 @@ export const REST_SERVICE_TOP_RANKING_LIST: PageProColumns<any>[] = [
549549
/** REST 服务日志 */
550550
export const REST_SERVICE_LOG_LIST: PageProColumns<LogItem>[] = [
551551
{
552-
title: '时间',
552+
title: '时间戳',
553553
dataIndex: 'logTime',
554+
copyable: false,
555+
width: 180,
554556
ellipsis: true
555557
},
556558
{
@@ -571,11 +573,14 @@ export const REST_SERVICE_LOG_LIST: PageProColumns<LogItem>[] = [
571573
{
572574
title: 'IP',
573575
dataIndex: 'ip',
576+
copyable: true,
577+
width: 140,
574578
ellipsis: true
575579
},
576580
{
577581
title: '响应时间',
578582
dataIndex: 'responseTime',
583+
width: 130,
579584
ellipsis: true
580585
},
581586
{
@@ -588,8 +593,10 @@ export const REST_SERVICE_LOG_LIST: PageProColumns<LogItem>[] = [
588593
/** AI 服务日志 */
589594
export const AI_SERVICE_LOG_LIST: PageProColumns<LogItem>[] = [
590595
{
591-
title: '时间',
596+
title: '时间戳',
592597
dataIndex: 'logTime',
598+
copyable: false,
599+
width: 200,
593600
ellipsis: true
594601
},
595602
{
@@ -615,6 +622,8 @@ export const AI_SERVICE_LOG_LIST: PageProColumns<LogItem>[] = [
615622
{
616623
title: 'IP',
617624
dataIndex: 'ip',
625+
copyable: true,
626+
width: 140,
618627
ellipsis: true
619628
},
620629
{

frontend/packages/core/src/pages/serviceLogs/LogDetail.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const LogDetail = ({ selectedRow, serviceType, serviceId, teamId }: LogDetailPro
161161
setDescriptionItems([
162162
{
163163
key: 'time',
164-
label: $t('时间'),
164+
label: $t('时间戳'),
165165
children: time
166166
},
167167
{
@@ -213,7 +213,7 @@ const LogDetail = ({ selectedRow, serviceType, serviceId, teamId }: LogDetailPro
213213
setDescriptionItems([
214214
{
215215
key: 'time',
216-
label: $t('时间'),
216+
label: $t('时间戳'),
217217
children: time
218218
},
219219
{

0 commit comments

Comments
 (0)