Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream manager max bandwidth calculation is wrong #41

Open
MikeDombo opened this issue Jun 26, 2024 · 0 comments
Open

Stream manager max bandwidth calculation is wrong #41

MikeDombo opened this issue Jun 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MikeDombo
Copy link
Member

MikeDombo commented Jun 26, 2024

Max bandwidth is calculated by reading STREAM_MANAGER_EXPORTER_MAX_BANDWIDTH which is specified as kbps, but the console is assuming it is the number of bytes/s leading to incorrect display

https://github.com/aws-greengrass/aws-greengrass-localdebugconsole/blob/main/src/main/js/dashboard-frontend/src/components/StreamManager.tsx#L257 -- need to first divide by 8 here to go from bits to bytes and multiply by 1024 to go from KB to B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant