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": "Využití paměti",
|
||||
"netBytesRecv": "{{name}} - přijaté bajty",
|
||||
"netBytesSent": "{{name}} - odeslané bajty",
|
||||
"netNoTraffic": "Capture hlásí nulový provoz na všech rozhraních. To je normální, když Capture běží uvnitř kontejneru, který vidí pouze loopback rozhraní — spusťte Capture přímo na hostiteli, abyste viděli skutečnou síťovou aktivitu.",
|
||||
"temp": "Teplota"
|
||||
}
|
||||
},
|
||||
@@ -1236,8 +1237,8 @@
|
||||
"description": "Přidejte ukázkové monitory pro demonstrační účely."
|
||||
},
|
||||
"removeMonitors": {
|
||||
"title": "Obnovení systému",
|
||||
"description": "Odeberte všechny monitory z vašeho systému.",
|
||||
"title": "Reset systému",
|
||||
"description": "Odstranit všechny monitory ze systému.",
|
||||
"dialog": {
|
||||
"title": "Odebrat všechny monitory?",
|
||||
"description": "Tuto akci nelze vrátit zpět."
|
||||
|
||||
Reference in new issue
Block a user