| 1 | export interface MetricsResponse { |
| 2 | success: boolean |
| 3 | message: string |
| 4 | data: Record<string, any> |
| 5 | } |
| 6 | |
| 7 | export interface HostsResponse { |
| 8 | success: boolean |
| 9 | message: string |
| 10 | hosts: string[] |
| 11 | } |
| 12 | |
| 13 | export interface TimeSeriesPoint { |
| 14 | time: string |
| 15 | value: number |
| 16 | } |
| 17 | |
| 18 | export type TimeSeriesData = Record<string, TimeSeriesPoint[]> |