The Analytics tab of the New Virtual Service wizard defines how the Avi Load Balancer captures analytics for the virtual service. These settings control the thresholds for defining client experience and the resulting impact on end-to-end timing and the health score, the level of metrics collection, and the logging behavior.

  1. Select an Analytics Profile from the drop-down menu. This profile determines the thresholds for determining client experience. It also defines errors that can be tailored to ignore certain behavior that might not be an error for a site, such as an HTTP 401 (authentication required) response code. The Avi Load Balancer uses errors and client experience thresholds to determine the health score of the virtual service and might generate significant log entries for any issues that arise.

  2. There are several number of metrics, such as End-to-End Timing, Throughput, Requests, and more. The Avi Load Balancer updates these metrics periodically, either at a default interval of five minutes, or as defined in the Metric Update Frequency. Enable Real Time Metrics to gather detailed metrics aggressively for a limited period, as required.

  3. Enter 0 to collect metrics aggressive to indefinite periods of time

    Enter a value, for example, 30 min to collect real-time metrics for the defined 30 minutes. After this period of time elapses, the metrics collection reverts to slower polling. The real-time metrics is helpful for troubleshooting.

    Note:

    Capturing real time metrics can negatively impact system performance for busy Controllers with large numbers of virtual services or configured with minimal hardware resource.

4. Data about connecting clients can be captured using Client Insights. Specific clients may be included or excluded through the Include URL, client IP address, and exclude URL options. By default, No Insights is selected.