Spaces:
Sleeping
Sleeping
Download src/services/interfaces/IStatisticsService.ts from sardarbipul/test: direct link, hf CLI and curl.
- Browser
- Download file 589 Bytes
-
https://huggingface.co/spaces/sardarbipul/test/resolve/main/src/services/interfaces/IStatisticsService.ts
- Command line
-
hf download hf://spaces/sardarbipul/test/src/services/interfaces/IStatisticsService.ts
-
curl -L -o IStatisticsService.ts https://huggingface.co/spaces/sardarbipul/test/resolve/main/src/services/interfaces/IStatisticsService.ts
589 Bytes
| export interface SystemStatistics { | |
| uptimeSeconds: number; | |
| totalDatasetRows: number; | |
| tasks: { | |
| pending: number; | |
| leased: number; | |
| completed: number; | |
| failed: number; | |
| total: number; | |
| completionPercentage: number; | |
| }; | |
| workers: { | |
| total: number; | |
| idle: number; | |
| busy: number; | |
| offline: number; | |
| }; | |
| throughput: { | |
| systemRowsPerSecond: number; | |
| totalRowsProcessed: number; | |
| }; | |
| storage: { | |
| idxAvailable: boolean; | |
| csvAvailable: boolean; | |
| }; | |
| } | |
| export interface IStatisticsService { | |
| getSystemStatistics(): Promise<SystemStatistics>; | |
| } | |