Browser test metrics π
Metrics in Splunk Synthetic Monitoring are numeric indicators of site performance that synthetic tests capture in each run of a test.
Metrics for Browser tests π
Browser tests capture 40+ metrics that offer a complete picture of your website performance. You can also configure custom metrics to gather the information you care about most. The following sections detail the three main types of metrics that Browser tests can capture.
Dimensions π
All Splunk Synthetic Monitoring metrics contain the following dimensions:
Dimension |
Description |
---|---|
|
|
|
|
|
The ID of the location for this run. |
|
The ID of this test. |
|
The test type dimension for Browser tests is set to |
|
The test property is the human readable name of the |
|
The location property is the human readable name of the |
All metrics have a test_id
and location_id
dimension. The test
and location
properties are attached to those dimensions respectively. The test_id
and location_id
properties are generated where possible to make the data more readable.
Test-level metrics in Browser tests π
Metric label |
Source metric name |
Description |
---|---|---|
Uptime |
|
In Browser tests, the Uptime represents the percentage of non-failed test runs. Uptime is calculated by taking the average score of all runs in the selected time frame, where a successful run receives a score of 100 and a failure receives a score of 0. |
Downtime |
|
The percentage of failed runs within the selected time frame. Downtime is calculated by taking the average score of all runs in the selected time frame, where a failed run receives a score of 100 and a successful run receives a score of 0. |
Run count |
|
Total number of runs for the test. This metric contains dimensions such as |
Run-level duration |
|
The total duration of the entire run, including all pages and synthetic transactions. |
Page-level metrics in Browser tests π
Browser tests in Splunk Synthetic Monitoring automatically capture a set of 45 default metrics for each page load. These metrics are grouped into several categories. See the tables below for details on all default page-level metrics.
Page-level metrics include an additional page_position
dimension that refers to the position of the page within the test. The position of the first page in the test is 0, the second page has position 1, and so on. If you choose a page-level metric in the Performance KPIs chart or in a detector without specifying a page in the page_position
dimension, the metric value is aggregated across all pages.
Performance timings π
Performance timing metrics capture information about how long it takes resources on the page to render.
Metric label |
Source metric name |
Description |
---|---|---|
DOM complete time |
|
Time until the Document Object Model (DOM) and all of its subresources are ready. |
DOM interactive time |
|
Time until the Document Object Model (DOM) is fully loaded and processed. |
DOM load time |
|
Time until the Document Object Model (DOM) has loaded, and the initial markup has been parsed. This metric corresponds to the browser |
Time to first byte (TTFB) |
|
Time from the start of the first request until receiving the first byte of the first non-redirect request. |
Duration |
|
Total amount of time spent on this page. This is the time from the start of the first request until either the end of the last request, or the end of the last step executed on this page, whichever is later. Summing all page durations is equivalent to the run duration ( |
First paint time |
|
Time until the browser renders anything other than the default background. |
First contentful paint time |
|
Time until the browser first renders any content. |
First meaningful paint time |
|
Time until the biggest above-the-fold layout change has happened and web fonts have loaded. |
Start render time |
|
Time until the first pixel of content is drawn. |
First CPU idle |
|
Time until the page is minimally interactive and will respond to user input in a reasonable amount of time. |
Time to interactive |
|
Time until the page is first expected to be usable and will respond to user input quickly. |
Onload time |
|
Time until the page has loaded. This corresponds to the browser load event. |
Visually complete time |
|
Time until all above-the-fold content has finished rendering. |
Speed index |
|
A calculated metric that represents how quickly the page renders above-the-fold content. |
Web vitals π
Web vitals are metrics that represent user experience in terms of loading, interactivity, and visual stability.
Metric label |
Source metric name |
Description |
---|---|---|
Largest contentful paint (LCP) |
|
Measures page loading times as perceived by users. The LCP metric reports the render time of the largest content element visible within the viewport. |
Total blocking time (TBT) |
|
Captures issues that affect interactivity. TBT is a synthetic alternative for Interaction to Next Paint (INP), which measures page responsiveness to user input. Optimizations that improve TBT in the lab can also help improve INP for your users. |
Cumulative layout shift (CLS) |
|
Measures page stability. CLS is based on a formula that tallies up how many times the components on the page move or βshiftβ around while the page is loading. Fewer shifts are better. |
To learn more about web vitals, see https://web.dev/vitals/ in the Google developer documentation.
Connection timings π
Connection timings metrics capture information about the latency of your siteβs connection to its server.
Metric label |
Source metric name |
Description |
---|---|---|
DNS time |
|
Time required to resolve a host name from the DNS server. |
TCP connect time |
|
Time it takes to create a TCP connection. |
Receive time |
|
Time required to read the entire response from the server. |
Send time |
|
Time required to send HTTP data to the server. |
TLS time |
|
Time required for TLS/SSL negotiation. |
Wait time |
|
Time from when a request is finished until the time the first byte of the response is received for the first request in a page. |
Resource and error count metrics π
Resource and error count metrics capture information about the number and types of resources on a page.
Metric label |
Source metric name |
Description |
---|---|---|
Client error count |
|
Number of client responses with a status code between 400 and 499. The error type is indicated in the |
Connection error count |
|
Number of connection responses where the status code is 504 or 0 (a request aborted by the browser). The error type is indicated in the |
Server error count |
|
Number of server responses where the status code is 500 or higher (excluding 504). The error type is indicated in the |
Error count |
|
Total count of responses with status codes greater than or equal to 400. This is a calculated metric, equivalent to the total number of client, connection, and server errors. |
HTML count |
|
Number of requests for HTML documents. The content type is indicated in the |
Image count |
|
Number of requests for images. The content type is indicated in the |
JavaScript count |
|
Number of requests for JavaScript files. The content type is indicated in the |
CSS count |
|
Number of requests for CSS files. The content type is indicated in the |
Video count |
|
Number of requests for videos. The content type is indicated in the |
Font count |
|
Number of requests for fonts. The content type is indicated in the |
Other count |
|
Number of requests for all other resources that are not HTML, image, JavaScript, CSS, video, or font requests. |
Request count |
|
Total number of requests made. This is a calculated metric, equivalent to the sum of all resource type counts (HTML, image, JavaScript, CSS, video, font and other counts). |
Content size metrics π
Content size metrics capture information about the size of resources on a page. Content sizes are calculated using the transfer size (or on-the-wire size) of each request.
Metric label |
Source metric name |
Description |
---|---|---|
Total content size |
|
Total size (in bytes) of all content loaded. This is equivalent to the total sum of all resource type sizes (HTML, image, JavaScript, CSS, video, font and other sizes). |
Total HTML size |
|
Total size (in bytes) of all HTML content loaded. The content type is indicated by the |
Total image size |
|
Total size (in bytes) of all image content loaded. The content type is indicated by the |
Total JavaScript size |
|
Total size (in bytes) of all JavaScript content loaded. The content type is indicated by the |
Total CSS size |
|
Total size (in bytes) of all CSS content loaded. The content type is indicated by the |
Total video size |
|
Total size (in bytes) of all video content loaded. The content type is indicated by the |
Total font size |
|
Total size (in bytes) of all font content loaded. The content type is indicated by the |
Total other size |
|
Total size (in bytes) of all other resources that are not HTML, image, JavaScript, CSS, video, or font requests. |
Score metrics π
Splunk Synthetic Monitoring currently offers one calculated score metric to offer a gauge of how your page is performing against an established scale.
Metric label |
Source metric name |
Description |
---|---|---|
Lighthouse Performance Score |
|
A weighted aggregation of several Browser test metric values calculated using v10 of the Lighthouse scoring algorithm. See https://web.dev/performance-scoring/ in the Google developer documentation to learn more about Lighthouse scoring. |
Transaction-level metrics π
Splunk Synthetic Monitoring captures three metrics for each synthetic transaction. Using these metrics, synthetic transactions can act as custom timers on business-critical workflows in your application and receive metrics tailored to the workflows you care about. See Add synthetic transactions to your Browser Test to learn how to set up Business Transactions.
Transaction-level metrics include two additional dimensions that correspond to each specific transaction within the test: transaction
and transaction_position
. The transaction
dimension contains the name of the corresponding transaction, and the that refers to the position of that transaction within the test. The position of the first transaction in the test is 0, the second transaction has position 1, and so on. If you choose a transaction-level metric in the Performance KPIs chart or in a detector without specifying a transaction in the transaction
dimension, the metric value is an aggregate of the metric across all transactions.
Metric label |
Source metric name |
Description |
---|---|---|
Duration |
|
Total duration of the synthetic transaction. |
Requests |
|
Total number of requests made during the synthetic transaction. |
Total size |
|
Total size (in bytes) of the content loaded during the synthetic transaction. |
Detect and report on your synthetic metrics π
To get even more value out of your synthetic metrics, use the Splunk Observability Cloud metrics engine to create custom metrics, charts, and detectors. See the following links for more information:
To build charts and dashboards using your metrics, see Dashboards in Splunk Observability Cloud.
To create static threshold detectors natively in Splunk Synthetic Monitoring, see Detectors and alerts.
To build more advanced detectors using the Splunk Observability Cloud metrics engine, see Introduction to alerts and detectors in Splunk Observability Cloud.
To learn more about metrics in Splunk Observability Cloud, see Metrics, data points, and metric time series in Splunk Observability Cloud.