php-opencloud / openstack

PHP SDK for OpenStack clouds
Apache License 2.0
222 stars 152 forks source link

Example or sample how to use Gnocchi #409

Open obaidaalhousrya opened 1 month ago

obaidaalhousrya commented 1 month ago

Hello,

Can you provide an example of how I can get the network usage in bytes via the server Id? In short, through the server's Id, I want to know the bandwidth consumption of the network via Gnocchi or through any other method in OpenStack.

Thanks

k0ka commented 1 week ago

Hello,

We're just providing convenient way to execute API requests from PHP. I should refer to Gnocchi documentation on how to do a particular thing - https://gnocchi.osci.io/rest.html Also Gnocchi support is quite experimental and doesn't have even proper tests and examples.