Add superadmin ops health dashboard
This commit is contained in:
@@ -219,6 +219,56 @@ return [
|
||||
'saved' => 'Guest policy updated.',
|
||||
],
|
||||
],
|
||||
'ops_health' => [
|
||||
'navigation' => [
|
||||
'label' => 'Ops health',
|
||||
],
|
||||
'heading' => 'Ops health',
|
||||
'subheading' => 'Storage and queue snapshots for the upload pipeline.',
|
||||
'help' => 'Snapshots are generated by scheduled commands: storage:monitor and storage:check-upload-queues.',
|
||||
'snapshot_age' => 'Updated :age',
|
||||
'snapshot_missing' => 'Snapshot missing',
|
||||
'pipeline' => [
|
||||
'label' => 'Upload pipeline',
|
||||
'total' => 'Total assets',
|
||||
'pending' => 'Pending assets',
|
||||
'failed' => 'Failed assets',
|
||||
'hot' => 'Hot assets',
|
||||
'archived' => 'Archived assets',
|
||||
'alerts' => 'Alerts',
|
||||
'hot_hint' => 'Hot: :count',
|
||||
'archived_hint' => 'Archived: :count',
|
||||
'no_snapshot' => 'Snapshot missing',
|
||||
'no_snapshot_desc' => 'Run storage:monitor to generate a snapshot.',
|
||||
],
|
||||
'queue' => [
|
||||
'heading' => 'Queue health',
|
||||
'description' => 'Upload queue sizes, failed jobs, and stalled assets.',
|
||||
'connection' => 'Connection',
|
||||
'snapshot' => 'Snapshot',
|
||||
'stalled_assets' => 'Pending assets > :minutes min',
|
||||
'no_snapshot' => 'No queue snapshot available. Run storage:check-upload-queues.',
|
||||
'no_queues' => 'No queues configured.',
|
||||
'alerts_heading' => 'Alerts',
|
||||
'thresholds' => 'Thresholds',
|
||||
'size' => 'Size',
|
||||
'failed' => 'Failed',
|
||||
'queue' => 'Queue',
|
||||
],
|
||||
'alert_types' => [
|
||||
'size' => 'Queue size above threshold (:size)',
|
||||
'failed_jobs' => 'Failed jobs detected (:failed)',
|
||||
'pending_assets' => ':count assets pending for more than :minutes min',
|
||||
],
|
||||
'severity' => [
|
||||
'ok' => 'OK',
|
||||
'warning' => 'Warning',
|
||||
'critical' => 'Critical',
|
||||
'unknown' => 'Unknown',
|
||||
'error' => 'Error',
|
||||
'unavailable' => 'Unavailable',
|
||||
],
|
||||
],
|
||||
|
||||
'events' => [
|
||||
'fields' => [
|
||||
|
||||
Reference in New Issue
Block a user