Real-Time Metrics quickstart
Read the request and data-transfer totals of your applications in Azion Console or with one GraphQL query, then narrow them to 24 hours and one host.
This guide instructs you through reading your first traffic numbers in Real-Time Metrics, in Azion Console or with the GraphQL API.
- Read the total requests and the total data transferred of your applications.
- Set the time range to the last 24 hours.
- Narrow both totals to one host.
Real-Time Metrics creates nothing, and there is nothing to turn on: it is active on every Azion account. It reads the metrics your applications and other products generate as they receive traffic, and charts them as soon as traffic arrives. Two things stand behind every number on this page:
- An application that has already served requests. Those requests are the data.
- The
httpMetricsdataset, which records the requests of your applications. The charts of the Applications tab and the GraphQL API both read it, so both interfaces return the same totals for the same range and filter.
Real-Time Metrics shows aggregated numbers. For the logs behind each number, refer to Real-Time Events.
Prerequisites
Console
- An Azion account. To create one, refer to Create an account.
- An application served by a workload, with requests in the last 24 hours.
- A host the workload answers on, such as
www.example.com. You filter the metrics by it. - Access to Azion Console. To sign in, refer to How to access Azion Console.
Open the request metrics of your applications
With no filter, Real-Time Metrics counts the requests and the data transferred of every application in your account.
Console
To read both totals in Azion Console:
Access Azion Console > Real-Time Metrics.
The page opens on the Build category, the Applications tab, and the Data Transferred dashboard.
In the Edge Cache chart, find the Data Transferred Total entry in the legend.
In the Total Requests chart, find the Edge Requests Total entry in the legend.
Both charts cover Last 5 minutes, the range the page opens on. Each legend entry reads <Series> - <total>, where the total sums the whole range.
The category dropdown also offers Secure and Observe, each with its own product tabs. For the full layout, refer to Filters and time range.
Set the time range to the last 24 hours
The time range sets the period that every total covers. In both interfaces, this stage reads the same 24 hours.
Console
To set the range in Azion Console:
In the filter row, select the time-range picker.
In the Quick tab, under Commonly used, select Last 24 hours.
After the range changes, the Refresh button beside the picker reads Update.
Every chart reloads for the last 24 hours, and the Edge Requests Total legend entry now totals that period.
For a custom start and end, or to reload the charts on a timer, refer to Filters and time range.
Filter by one host
A filter keeps only the requests that match it, and every total follows. This stage keeps the requests to the host www.example.com. Replace it with a host your workload answers on.
Console
To filter the dashboard in Azion Console:
In the filter row, select the filter icon, whose tooltip reads Add filter.
In Filter, select Host.
In Operator, select Equals.
Enter www.example.com as the value.
A chip under the filter row reads Host equals: www.example.com. Every chart now shows only the requests to that host, over the last 24 hours.
To filter by workload instead of host, select the Domain field, labeled Workload on some accounts, and select the workload from its list. For every field and operator, refer to Filters and time range.