feat(system): add server startup time and uptime tracking

- Introduced `started_at` and `uptime_seconds` fields to the `SystemInfo` structure for tracking server boot time and uptime.
- Updated the `GetSystemInfo` handler to populate these new fields based on server runtime.
- Enhanced the frontend to display server startup time and uptime in the system information view, improving visibility for users.
- Added localization support for new labels and descriptions related to server uptime and startup time in multiple languages.
This commit is contained in:
wizardchen
2026-06-03 20:51:03 +08:00
committed by lyingbug
parent f57449419c
commit 226a37330c
12 changed files with 224 additions and 5 deletions
+8
View File
@@ -2216,6 +2216,14 @@ export default {
buildTimeDescription: "시스템이 빌드된 시간",
goVersionLabel: "Go 버전",
goVersionDescription: "백엔드에서 사용하는 Go 언어 버전",
startedAtLabel: "서비스 시작 시각",
startedAtDescription: "현재 백엔드 프로세스가 마지막으로 시작된 시각",
uptimeLabel: "가동 시간",
uptimeDescription: "이번 시작 이후 연속 실행된 시간",
uptimeDays: "{n}일",
uptimeHours: "{n}시간",
uptimeMinutes: "{n}분",
uptimeSeconds: "{n}초",
dbVersionLabel: "데이터베이스 버전",
dbVersionDescription: "현재 데이터베이스 마이그레이션 버전",
dbMigrationFailedTag: "마이그레이션 실패",