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:
@@ -7,6 +7,7 @@ export const SCHEDULER_JOB_KEYS = [
|
||||
"uptime_resources",
|
||||
"uptime_ping",
|
||||
"uptime_speed",
|
||||
"internet_path",
|
||||
"gre_bgp",
|
||||
"alert_engine",
|
||||
] as const
|
||||
@@ -18,6 +19,7 @@ export const SCHEDULER_JOB_LABELS: Record<string, string> = {
|
||||
uptime_resources: "Uptime: ресурсы",
|
||||
uptime_ping: "Uptime: ping",
|
||||
uptime_speed: "Uptime: speed",
|
||||
internet_path: "Internet Path",
|
||||
gre_bgp: "GRE + BGP",
|
||||
alert_engine: "Оповещения",
|
||||
}
|
||||
@@ -30,6 +32,7 @@ export const SCHEDULER_JOB_DESCRIPTIONS: Record<string, string> = {
|
||||
uptime_resources: "CPU, память, температура и др. метрики с устройств.",
|
||||
uptime_ping: "ICMP-пинг по настроенным пробам мониторинга.",
|
||||
uptime_speed: "Фоновые btest / speed-пробы между узлами (при включённых пробах).",
|
||||
internet_path: "Снимок данных для карты интернет-маршрута на dashboard (WAN/JH/EN, route+runtime, speed-пробы).",
|
||||
gre_bgp:
|
||||
"Опрос GRE-туннелей и BGP-сессий на включённых серверах, запись сэмплов в SQLite для движка оповещений.",
|
||||
alert_engine:
|
||||
|
||||
Reference in New Issue
Block a user