feat: implement internet path functionality with backend support

Added internet path settings and snapshot management to the application. This includes new database tables for internet path settings and snapshots, API routes for fetching and managing internet path data, and integration into the dashboard and data collection pages. Enhanced the scheduler to support internet path jobs, ensuring regular data collection and updates. Updated relevant types and interfaces to accommodate the new functionality.
This commit is contained in:
Denozordec
2026-05-08 00:40:41 +07:00
parent 11ad94f67d
commit b9a75b6831
15 changed files with 1740 additions and 14 deletions
+10
View File
@@ -63,6 +63,15 @@ export interface GreBgpSnapshotRunSnapshot {
errors?: string[]
}
export interface InternetPathRunSnapshot {
v: number
job: "internet_path"
sampledAt: string
homes: number
snapshotSaved: boolean
fatalError?: string
}
export type SchedulerRunSnapshot =
| TrafficRunSnapshot
| ResourcesRunSnapshot
@@ -70,6 +79,7 @@ export type SchedulerRunSnapshot =
| SpeedScheduledRunSnapshot
| ServersRestPingRunSnapshot
| GreBgpSnapshotRunSnapshot
| InternetPathRunSnapshot
| AlertEngineRunSnapshot
export interface TrafficServerSnapshot {