mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 21:50:47 +08:00
feat(ume): expose WSS runtime logs on subscription status UI
Ring-buffer ws_logs API, alarm raise/clear labels with alarmkey, and scrollable log panel on UME page. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
635cd52d4f
commit
5bd83c58dc
6 changed files with 203 additions and 31 deletions
|
|
@ -89,6 +89,13 @@ export type UmeSyncJobItem = {
|
|||
ended_at?: string | null;
|
||||
};
|
||||
|
||||
export type UmeWsLogEntry = {
|
||||
ts: string;
|
||||
level: string;
|
||||
message: string;
|
||||
subscription_id?: string;
|
||||
};
|
||||
|
||||
export type UmeAlarmSubscriptionStatus = {
|
||||
ok?: boolean;
|
||||
created?: boolean;
|
||||
|
|
@ -100,6 +107,7 @@ export type UmeAlarmSubscriptionStatus = {
|
|||
ws_consumer_status?: string;
|
||||
ws_consumer_last_error?: string;
|
||||
ws_consumer_last_run_at?: string | null;
|
||||
ws_logs?: UmeWsLogEntry[];
|
||||
};
|
||||
|
||||
export type UmeSyncStatusResponse = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue