Skip to content

System Monitoring - Network traffic labels are wrong #5115

Closed

Description

@sh0rtcircuit

To Reproduce

If you click on system monitoring (Remote Servers -> Monitoring), then you see the dashboard which is great. However, the labels are wrong (they are showing "KB/s", even though what the graph is actually showing is the network total).

Image

It should rather show something like "Network Total: ↑ 14,2 GB ↓ 47,6 GB (since Boot)".

Current vs. Expected behavior

Network Traffic: ↑ 14606.74 KB/s ↓ 48723.74 KB/s
---->
Network Total: ↑ 14,2 GB ↓ 47,6 GB (since Boot)

Provide environment information

Dokploy hosted version, Ubuntu 26.04 LTS as remote server

Which area(s) are affected? (Select all that apply)

Remote server

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

No

Activity

  1. dosubot commented on Aug 18, 2026

    @dosubot

    Hi @sh0rtcircuit! I'm Dosu and I'm helping the Dokploy team.

    Good catch. There are actually two separate bugs here:

    1. Wrong unit in the label — The NetworkChart component hardcodes KB/s in the card description, Y-axis, and tooltip [1] [2] [3].

    2. The data itself is not KB/s — it's MB total since boot — In the monitoring agent, networkIn/networkOut are computed as [4]:

    networkIn  = float64(netInfo[0].BytesRecv) / 1024 / 1024  // bytes → MB
    networkOut = float64(netInfo[0].BytesSent) / 1024 / 1024  // bytes → MB

    BytesRecv/BytesSent from gopsutil are cumulative totals since boot, not per-second rates. So the values shown (~14,606 and ~48,723) are actually MB totals — which matches your observation (~14.2 GB and ~47.6 GB when converted).

    To fix this properly, network-chart.tsx needs to:

    1. Change the label from "Network Traffic: ↑ X KB/s ↓ X KB/s" to something like "Network Total: ↑ X GB ↓ X GB (since Boot)".
    2. Convert the MB values to GB for display (divide by 1024).
    3. Update the Y-axis formatter from ${value} KB/s to use MB or GB.
    4. Update the tooltip labels accordingly.

    To reply, just mention @dosu.


    Docs are dead. Just use Dosu.

    Leave Feedback Ask Dosu about dokploy Share Dosu with your team

  2. linear-code commented on Aug 18, 2026

    @linear-code
  3. added a commit that references this issue on Aug 27, 2026
    a822db5
  4. added a commit that references this issue on Oct 24, 2026
    1c66cbe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions