You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "meisammaleki (via GitHub)" <gi...@apache.org> on 2024/11/25 04:47:25 UTC
[I] Instance network metrics calculation with API [cloudstack]
meisammaleki opened a new issue, #9967:
URL: https://github.com/apache/cloudstack/issues/9967
<!--
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Other
##### COMPONENT NAME
<!--
API
-->
~~~
~~~
##### CLOUDSTACK VERSION 4.17.2
<!--
New line separated list of affected versions, commit ID for issues on main branch.
-->
~~~
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise
-->
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
##### 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
<!--
I have tried to found this from ACS API's then I used "listVirtualMachinesMetrics"
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### 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
~~~
~~~
##### ACTUAL RESULTS
<!--
this is returned values form api :
"networkread": "41.20 MiB",
"networkwrite": "0.91 MiB",
-->
<!-- Paste verbatim command output between quotes below -->
~~~
~~~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Instance network metrics calculation with API [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #9967:
URL: https://github.com/apache/cloudstack/issues/9967#issuecomment-3983835199
this sounds like a functional discussion...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Instance network metrics calculation with API [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #9967:
URL: https://github.com/apache/cloudstack/issues/9967#issuecomment-3081839644
What type of zone and network ?
ACS can collect traffic for
- isolated network and vpc. No traffic collection for individual vm
- vm on shared netwoek
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Instance network metrics calculation with API [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #9967:
URL: https://github.com/apache/cloudstack/issues/9967#issuecomment-2497613234
@meisammaleki can you try your scenario with a newer version?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Instance network metrics calculation with API [cloudstack]
Posted by "Pearl1594 (via GitHub)" <gi...@apache.org>.
Pearl1594 commented on issue #9967:
URL: https://github.com/apache/cloudstack/issues/9967#issuecomment-3745113655
@meisammaleki Could you also please let us know which API are you referring to where you see the discrepancy?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Instance network metrics calculation with API [cloudstack]
Posted by "meisammaleki (via GitHub)" <gi...@apache.org>.
meisammaleki commented on issue #9967:
URL: https://github.com/apache/cloudstack/issues/9967#issuecomment-2497703363
The only way for check newer version is to use ACS simulator which I'm not sure about its functionality, also I cannot upgrade the current environment to newer one
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Instance network metrics calculation with API [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #9967: Instance network metrics calculation with API
URL: https://github.com/apache/cloudstack/issues/9967
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Instance network metrics calculation with API [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #9967:
URL: https://github.com/apache/cloudstack/issues/9967#issuecomment-2503828012
no @meisammaleki , in a simulator this functionality can not be verified.
> The only way for check newer version is to use ACS simulator which I'm not sure about its functionality, also I cannot upgrade the current environment to newer one
I'll try and find the time to verify it in a newer version.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org