feat(system): add runtime task queue observability dashboard for system admins
Expose live asynq queue depths and worker-pool concurrency via a new SystemAdmin API and settings UI, so operators can monitor parsing/wiki backlog without Redis CLI access.
This commit is contained in:
@@ -1213,6 +1213,7 @@ export default {
|
||||
storageEngine: 'Storage Engine',
|
||||
mcpService: 'MCP Service',
|
||||
versionInfo: 'Version Info',
|
||||
taskQueue: 'Task Queues',
|
||||
tenantInfo: 'Tenant Info',
|
||||
apiInfo: 'API Info',
|
||||
navGroups: {
|
||||
@@ -1220,6 +1221,7 @@ export default {
|
||||
workspace: 'Workspace',
|
||||
modelsRuntime: 'Models',
|
||||
dataExtensions: 'Data & Extensions',
|
||||
systemAdministration: 'System Administration',
|
||||
platform: 'Platform',
|
||||
},
|
||||
roleDenied: {
|
||||
@@ -3457,6 +3459,70 @@ export default {
|
||||
tier2: 'Items not saved here fall back to the environment variable, or to the built-in default if no env var is set.',
|
||||
tier3: 'To put an item back under environment-variable control, click the "Reset" button on its row.',
|
||||
},
|
||||
runtime: {
|
||||
title: "Task Queue Runtime",
|
||||
description: "Live depth of the background task queues (parsing / enrichment) and the worker concurrency config. Read-only; auto-refreshes every 5s.",
|
||||
refresh: "Refresh",
|
||||
autoRefresh: "Auto-refresh (every 5s)",
|
||||
loading: "Loading...",
|
||||
retry: "Retry",
|
||||
unavailableTitle: "Task queues unavailable",
|
||||
unavailable: "This deployment has no Redis / asynq queue (Lite mode) — nothing to display.",
|
||||
paused: "Paused",
|
||||
empty: "No queue data available",
|
||||
detailsTitle: "Queue details",
|
||||
detailsDescription: "Live load and wait time for every processing lane.",
|
||||
weight: "Weight {value}",
|
||||
footnote: "Concurrency is the configured worker-pool cap (takes effect after restart); \"Active\" is the number of tasks currently being processed.",
|
||||
updatedAt: "Updated at {value}",
|
||||
errors: {
|
||||
generic: "Failed to load queue stats",
|
||||
},
|
||||
summary: {
|
||||
title: "Runtime overview",
|
||||
active: "Active",
|
||||
pending: "Pending",
|
||||
retry: "Retrying",
|
||||
concurrency: "Parse / Wiki concurrency",
|
||||
},
|
||||
columns: {
|
||||
queue: "Queue",
|
||||
active: "Active",
|
||||
pending: "Pending",
|
||||
scheduled: "Scheduled",
|
||||
retry: "Retry",
|
||||
archived: "Dead",
|
||||
latency: "Oldest wait",
|
||||
status: "Status",
|
||||
},
|
||||
status: {
|
||||
working: "Working",
|
||||
waiting: "Waiting",
|
||||
idle: "Idle",
|
||||
attention: "Attention",
|
||||
paused: "Paused",
|
||||
},
|
||||
pools: {
|
||||
parse: "Parse pool",
|
||||
wiki: "Wiki pool",
|
||||
},
|
||||
queueNames: {
|
||||
default: "Default (document parse)",
|
||||
low: "Maintenance & batch jobs",
|
||||
multimodal: "Multimodal (images)",
|
||||
graph: "Graph extraction",
|
||||
question: "Question generation",
|
||||
wiki: "Wiki ingest",
|
||||
},
|
||||
queueDescriptions: {
|
||||
default: "Document parsing and general post-processing",
|
||||
low: "Summaries, source sync, batch reparse, and deletion cleanup",
|
||||
multimodal: "Image OCR and multimodal descriptions",
|
||||
graph: "Knowledge graph extraction from document chunks",
|
||||
question: "Question generation from document chunks",
|
||||
wiki: "Wiki content generation and index sync",
|
||||
},
|
||||
},
|
||||
keyLabels: {
|
||||
auth: {
|
||||
registration_mode: 'Self-service registration mode',
|
||||
|
||||
Reference in New Issue
Block a user