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:
@@ -2984,6 +2984,14 @@ export default {
|
||||
buildTimeDescription: 'Time when the system was built',
|
||||
goVersionLabel: 'Go Version',
|
||||
goVersionDescription: 'Go language version used by the backend',
|
||||
startedAtLabel: 'Service started at',
|
||||
startedAtDescription: 'When the current backend process last started',
|
||||
uptimeLabel: 'Uptime',
|
||||
uptimeDescription: 'How long the service has been running since this start',
|
||||
uptimeDays: '{n}d',
|
||||
uptimeHours: '{n}h',
|
||||
uptimeMinutes: '{n}m',
|
||||
uptimeSeconds: '{n}s',
|
||||
dbVersionLabel: 'Database Version',
|
||||
dbVersionDescription: 'Current database migration version',
|
||||
dbMigrationFailedTag: 'Migration failed',
|
||||
|
||||
Reference in New Issue
Block a user