mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: display the version and backend service status on the page (#848)
### What problem does this PR solve? #643 feat: display the version and backend service status on the page ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -19,3 +19,31 @@ export interface IUserInfo {
|
||||
update_date: string;
|
||||
update_time: number;
|
||||
}
|
||||
|
||||
export interface ISystemStatus {
|
||||
es: Es;
|
||||
minio: Minio;
|
||||
mysql: Minio;
|
||||
redis: Redis;
|
||||
}
|
||||
|
||||
interface Redis {
|
||||
status: string;
|
||||
elapsed: number;
|
||||
error: string;
|
||||
pending: number;
|
||||
}
|
||||
|
||||
export interface Minio {
|
||||
status: string;
|
||||
elapsed: number;
|
||||
error: string;
|
||||
}
|
||||
|
||||
interface Es {
|
||||
status: string;
|
||||
elapsed: number;
|
||||
error: string;
|
||||
number_of_nodes: number;
|
||||
active_shards: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user