MauriceNino / dashdot

A simple, modern server dashboard, primarily used by smaller private servers
https://getdashdot.com/
MIT License
2.53k stars 95 forks source link

[Bug] doesn't display network speed correctly #1036

Closed Joselito1980 closed 6 months ago

Joselito1980 commented 6 months ago

Description of the bug

Hello, I use dashdot on my synology ds 720+. The problem is that it shows the speed wrong, I'm actually going down to 20mbps but in dashdot it appears 200mbps. Is it possible to change it with some variable?

image

How to reproduce

I use this docker compose:

version: "3.9" services: dashdot: container_name: dashdot image: mauricenino/dashdot:latest mem_limit: 4g cpu_shares: 768 security_opt:

Relevant log output

No response

Info output of dashdot cli

No response

What browsers are you seeing the problem on?

Chrome, Safari, Microsoft Edge

Where is your instance running?

Other (Please specify below)

Additional context

Synology DSM DSM 7.2.1-69057 Update 4

MauriceNino commented 6 months ago

I think you are confusing Megabit per second and Megabyte per second. Left one is the first and right is the second one. Basically, you can take Megabyte per second and multiply it by 8 to get Megabit per second.

If you want to switch how it is displayed, you can use DASHDOT_NETWORK_SPEED_AS_BYTES

Joselito1980 commented 6 months ago

thanks!!!!!!