Skip to content

Add consumer lag alert threshold#27

Merged
amigoer merged 1 commit intomainfrom
feat/consumer-lag-alert
Apr 4, 2026
Merged

Add consumer lag alert threshold#27
amigoer merged 1 commit intomainfrom
feat/consumer-lag-alert

Conversation

@amigoer
Copy link
Copy Markdown
Owner

@amigoer amigoer commented Apr 4, 2026

Summary

  • Add lagAlertThreshold field to settings model (default: 10000, set to 0 to disable)
  • Settings UI: new input field in "消息与显示" tab for configuring the threshold
  • Consumer group detail: stats "总堆积" card turns red with AlertTriangle icon when lag >= threshold
  • Consumer group list: lag text shows warning styling when exceeding threshold
  • Full-stack: backend model, Wails bindings, frontend settings hook, and UI components all updated

Adds configurable lag alert threshold (default 10000) in settings.
When a consumer group's message backlog exceeds the threshold,
the stats card turns red with a warning icon, and the list item
shows a warning indicator.
@amigoer amigoer merged commit 2f66ae4 into main Apr 4, 2026
@amigoer amigoer deleted the feat/consumer-lag-alert branch April 4, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant