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:
@@ -1935,6 +1935,14 @@ export default {
|
||||
buildTimeDescription: 'Время, когда система была собрана',
|
||||
goVersionLabel: 'Версия Go',
|
||||
goVersionDescription: 'Версия языка Go, используемая backend',
|
||||
startedAtLabel: 'Время запуска сервиса',
|
||||
startedAtDescription: 'Момент последнего запуска текущего процесса backend',
|
||||
uptimeLabel: 'Время работы',
|
||||
uptimeDescription: 'Непрерывное время работы с момента этого запуска',
|
||||
uptimeDays: '{n} д',
|
||||
uptimeHours: '{n} ч',
|
||||
uptimeMinutes: '{n} мин',
|
||||
uptimeSeconds: '{n} с',
|
||||
dbVersionLabel: 'Версия базы данных',
|
||||
dbVersionDescription: 'Текущая версия миграции базы данных',
|
||||
dbMigrationFailedTag: 'Миграция не удалась',
|
||||
|
||||
Reference in New Issue
Block a user