feat(infrastructure): show notice when network charts have zero traffic
When Capture runs inside a container (typical for Docker Desktop), the only visible interfaces are loopback, so every bytes_sent/bytes_recv counter is zero and the charts render as flat lines without any explanation. Users couldn't tell whether Capture was unreachable, the monitor was broken, or there was just genuinely no traffic. Detect the case where checks exist (chart configs were built) but every interface across every check reports zero bytesSentPerSecond and deltaBytesRecv, and render a NoticeBanner above the chart grid explaining it and suggesting Capture be run on the host. Adds pages.infrastructure.charts.labels.netNoTraffic to all 16 locales.
This commit is contained in:
1 parent
fef3f2c294
commit
c89dbebe98
17 files changed
+80
-48
No files matched your search
@@ -769,6 +769,7 @@
|
||||
"memory": "Muistin käyttö",
|
||||
"netBytesRecv": "{{name}} - tavua vastaanotettu",
|
||||
"netBytesSent": "{{name}} - tavua lähetetty",
|
||||
"netNoTraffic": "Capture ilmoittaa nollaliikennettä kaikilla rajapinnoilla. Tämä on normaalia, kun Capture käynnistetään säiliössä, joka näkee vain loopback-rajapinnat — suorita Capture suoraan isännällä nähdäksesi todellisen verkkoaktiviteetin.",
|
||||
"temp": "Lämpö"
|
||||
}
|
||||
},
|
||||
@@ -1236,7 +1237,7 @@
|
||||
"description": "Lisää esimerkkimonitoreja esittelytarkoituksiin."
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "Järjestelmän nollaus",
|
||||
"title": "Järjestelmän palautus",
|
||||
"description": "Poista kaikki monitorit järjestelmästäsi.",
|
||||
"dialog": {
|
||||
"title": "Poistetaanko kaikki monitorit?",
|
||||
|
||||
Reference in new issue
Block a user