Monitoring Latency on Infrastructure Services
Navigating the Nile Portal Dashboard
See Figure 1. for a typical Nile Dashboard view. The SLAs on this instance are grayed out because SLAs are disabled on lab test instances of the Nile Service Block (NSB).

To check for latency in Infrastructure (DHCP, DNS, RADIUS, or Internet connectivity), you can click the Infrastructure tile or Infrastructure in the left-hand navigation. To check for latency in Applications, you can click the Applications tile. See Figure 2. for where to click.

Viewing Infrastructure Latency
Clicking Infrastructure in the left-hand navigation brings you to the details of Infrastructure Experience for the last 2 hours. If you click the Infrastructure tile, you then need to select the site you want to look at to reach this view. Figure 3. shows how the Infrastructure experience view is shown before you select one of the Infrastructure components to drill down into the details for.

To view details of a specific Infrastructure component, click on the Name of the component.
When you select a component, it opens a time-based graph of Availability and Experience for that Infrastructure type. Figure 4. shows the DNS Experience over the last two hours. In this case, some spots of higher latency are seen on the graph and marked by "bad experience" along with dips in latency showing improvement. Note that on this graph, "Now" is on the right side and as you look further left, you are looking farther back in time.

To change the time duration to see longer (or shorter) time periods, you can adjust the time settings on the top right of the Nile Portal screen.
Viewing Application Latency
To view application latency in more detail, from the Nile Portal Dashboard, click the Applications tile. Then navigate on the map and click the site where you want to view application latency. See Figure 5.

Once the site is selected, you can see the performance of all the applications. The red on any application bar shows problems and green shows good performance. See Figure 6.

In Figure 6. you can see several of the applications had some issues. Selecting GCP, you can see the details of what happened. Once again you click the Name of the application.

This opens a time-based graph view of GCP Availability and Performance (Latency). In a few cases, you can see that the application has high latency and those spots are marked in red as a bad experience.
If you hover your mouse pointer over the bad spot you can get a bit more detail on the Experience of the GCP application at that point in time, as shown in Figure 7.

Here you see the latency went from an average of 250 ms up to 396 ms, triggering the alert. Application performance is tested from our Headend Controller northbound out to the Internet, so performance recorded here reflects the state of that Application Experience over the Internet at that point in time.
How is Latency Calculated by Nile for Infrastructure and Applications?
For DNS, DHCP, Internet, RADIUS and Application latency, Nile monitors and compares individual transaction times to latency data collected during the last 8 hours. If the current latency number is above the baseline moving average (from the last 8 hours), then Nile labels the number a bad experience point. For example, if the baseline is 8 msecs (calculated based on the data from the last 8 hours) and the latency in the current minute t is 10 msecs, then Nile has a bad experience point at time t. The baseline is calculated for each server. If there are two DHCP servers, each DHCP server has its own baseline based on the past data. If 10 msecs becomes the norm for 8 hours continuously, then 10 msecs becomes the baseline and as long as the value after t+8 hours is at or less than 10 msecs, everything is good.
What transactions are used to Calculate Latency?
The following transactions are used to calculate latency:
DHCP: Testing DHCP is performed from the Headend Controller, using a synthetic DHCP transaction, acting as if it were a client requesting a new IP address. This tests both server availability and DHCP service availability on the server.
DNS: Testing DNS is performed from the Headend Controller, using a script that creates an actual DNS request from the Server and calculates the response time. This tests both server availability, and DNS Service availability on the server.
RADIUS: The Headend Controller tests RADIUS with a Synthetic RADIUS Authentication request from the server and calculates the response time. The Synthetic transaction requires setting up a test authentication account on the RADIUS server. This tests both server availability and RADIUS service availability on the server.
Internet: Testing Internet is performed from the Headend Controller, using ICMP pings to Google.com and calculating the response time. This tests the path from the Headend Northbound to Google and back, so it includes additional on-premises infrastructure, such as routers and firewalls that it transits.
Applications: Testing Applications is performed from the Headend Controller, using a "curl" command to try to load the initial application website page, and calculating the response time. In some cases, if the application website refuses "curl" commands, we can change this to ICMP pings instead. One exception like this is Skype which is tested via ICMP pings.