From c810516afc38276ca3cd887d2e2b538ce8f5d1b2 Mon Sep 17 00:00:00 2001 From: Stream Date: Sun, 19 Apr 2026 22:00:01 +0300 Subject: [PATCH] auto-sync: 2026-04-19 22:00:01 --- .../flightradar24/compose/docker-compose.yml | 2 +- .../frontend/static/monitoring.html | 345 +++++++++++------- 2 files changed, 219 insertions(+), 128 deletions(-) diff --git a/tasks/flightradar24/compose/docker-compose.yml b/tasks/flightradar24/compose/docker-compose.yml index bced517..9b01e36 100644 --- a/tasks/flightradar24/compose/docker-compose.yml +++ b/tasks/flightradar24/compose/docker-compose.yml @@ -151,7 +151,7 @@ services: api: condition: service_started healthcheck: - test: ["CMD-SHELL", "test -f /tmp/monitoring-ready && pgrep -f main.py > /dev/null || exit 1"] + test: ["CMD-SHELL", "test -f /tmp/monitoring-ready || exit 1"] interval: 30s timeout: 5s retries: 3 diff --git a/tasks/flightradar24/frontend/static/monitoring.html b/tasks/flightradar24/frontend/static/monitoring.html index 6676c48..a911768 100644 --- a/tasks/flightradar24/frontend/static/monitoring.html +++ b/tasks/flightradar24/frontend/static/monitoring.html @@ -1,169 +1,260 @@ - - -FR24 Monitoring - + .card .label { + font-size: 11px; + text-transform: uppercase; + letter-spacing: 0.08em; + color: #6e7681; + margin-bottom: 8px; + } + + .card .value { + font-size: 32px; + font-weight: 700; + line-height: 1; + } + + .card .unit { + font-size: 13px; + color: #6e7681; + margin-top: 4px; + } + + .green { color: #3fb950; } + .yellow { color: #d29922; } + .red { color: #f85149; } + .neutral { color: #e6edf3; } + + h2 { + font-size: 14px; + font-weight: 600; + color: #8b949e; + text-transform: uppercase; + letter-spacing: 0.06em; + margin-bottom: 12px; + } + + .table-wrap { + overflow-x: auto; + } + + table { + width: 100%; + border-collapse: collapse; + font-size: 13px; + } + + thead th { + text-align: left; + padding: 8px 12px; + color: #6e7681; + font-weight: 500; + border-bottom: 1px solid #21262d; + white-space: nowrap; + } + + tbody tr { + border-bottom: 1px solid #161b22; + transition: background 0.1s; + } + tbody tr:hover { background: #161b22; } + + tbody td { + padding: 7px 12px; + white-space: nowrap; + } + + #error-banner { + display: none; + background: #2d1b1b; + border: 1px solid #f85149; + border-radius: 6px; + color: #f85149; + padding: 10px 16px; + margin-bottom: 20px; + font-size: 13px; + } +
- ← Live Map -

📊 FR24 Monitoring

+ ← Карта +

FR24 Monitoring

-
+
-
-
+
+
Disk Usage
-
-
percent used
+
+
%
-
+
DB Size
-
-
megabytes
+
+
MB
-
+
Capture Lag
-
-
seconds since last packet
+
+
сек
-
-
Throughput
-
-
packets / 5 min
+
+
Throughput 5min
+
+
пакетов / 5 мин
-

Last 20 measurements

- - - - - - - - - - - -
TimeDisk %DB Size (MB)Capture Lag (s)Throughput (5m)
+

История (последние 20)

+
+ + + + + + + + + + + + + +
ВремяDisk %DB SizeLag (сек)Throughput
Загрузка…
+