Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Instance network metrics calculation with API #9967

Open
@meisammaleki

Description

ISSUE TYPE
  • Other
COMPONENT NAME
CLOUDSTACK VERSION 4.17.2
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

I need to calculate the amount of downloaded and uploaded traffic on each instance for accounting purpose
For example if Download value for an instance reach 20 GB in a week (Download a 1GB file for 20 times)

STEPS TO REPRODUCE
EXPECTED RESULTS

I have downloaded this file with "wget" which it is approximately 2 GB with an instance and I except that the API show me a same value but was not same acctually. here is the like for download file

https://github.com/szalony9szymek/large/releases/download/free/large

this is returned values form api :
"networkread": "41.20 MiB",
"networkwrite": "0.91 MiB",

ACTUAL RESULTS

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Discuss

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /