-
Notifications
You must be signed in to change notification settings - Fork 223
DOCS-895 - Remove XHR metrics from RUM docs #5423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
e02b299
90bc0a6
a93b619
5fa5cf7
4c1ca29
b376c29
e02fbdf
b4a8a6e
984ea35
5404c32
dc7e91b
d337720
1e86830
b2ed5c9
f46f809
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ The **RUM Overview** dashboards (**Application**, **Service**, **Service with En | |
|
||
Use these dashboards to: | ||
* Analyze load and paint timings for page document loads by application, service, or action. | ||
* View information about core web vitals, XHR processing times/errors, and log errors. | ||
* View information about [core web vitals, XHR processing times/errors, and log errors](/docs/apm/real-user-monitoring/metrics/#xhr-monitoring-metrics). | ||
* Understand what top browsers, operating systems, and geolocations are active with your website. | ||
|
||
You can select the timing metric type in the **statistic** dropdown on the dashboard header. This will change the browser time metrics types on charts. | ||
|
@@ -78,7 +78,7 @@ The **RUM - TopN - Application** and **RUM - TopN - Application Service** dashbo | |
Use these dashboards to: | ||
* Find out top N browsers, operating systems, and geolocations by load or requests. | ||
* Understand the slowest and fastest browsers from a rendering perspective or geographical locations from a network perspective. | ||
* Understand XHR and log errors your users are experiencing. | ||
* Understand [XHR and log errors](/docs/apm/real-user-monitoring/metrics/#xhr-monitoring-metrics) your users are experiencing. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The link is correct; you'd need to pull it in locally and test |
||
* Find out which browsers and operating systems are in use by your users and where are they are geographically located. | ||
|
||
You can select the timing metric type in the **statistic** dropdown on the dashboard header. This will change the browser time metrics types on charts. You can also define the top N number for all charts. | ||
|
@@ -91,7 +91,7 @@ The **RUM Performance Analytics** dashboards for **Application**, **Service**, a | |
|
||
Use these dashboards to: | ||
* Filter data for specific combinations of browser, operating system, and/or geolocation. | ||
* Understand XHR, load, timing metrics for the selected user cohort. | ||
* Understand [XHR, load, timing metrics](/docs/apm/real-user-monitoring/metrics/#xhr-monitoring-metrics) for the selected user cohort. | ||
* Compare your selected timings against data for a different time period by selecting the appropriate option in the compare_with dropdown. | ||
|
||
You can click on any data point on the charts to open a details panel and view the **Infrastructure** tab to drill-down to traces representing user transactions from the selected time point. For cross-dimensional metrics, only the average statistic type is available. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,11 +123,15 @@ These CWV KPIs are captured and displayed on Overview dashboards for Document Lo | |
|
||
## XHR monitoring metrics | ||
|
||
An XML HTTP Request (XHR) is a form of communication between the browser and the application backend without reloading the page. A typical example is when a page needs to update a price ticker automatically or after pressing the “update price” button next to it. | ||
:::note | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes - to preview the correct formatting, you'd need to pull it in locally. Here's what it looks like in localhost |
||
Currently, XHR metrics extraction in RUM is only supported for applications that use the [`fetch` API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) to perform XHR calls. If your application uses [`XMLHttpRequest`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest), metrics may not be collected at this time. A fix to support `XMLHttpRequest`-based calls is in progress and expected to roll out in mid 2025. We will update this page when that support becomes available. | ||
::: | ||
|
||
An XMLHttpRequest (XHR) is a way for browsers to communicate with a backend server without reloading the page. For example, a page may use XHR to update a price ticker automatically or after clicking an "Update Price" button. | ||
|
||
The XHR technique is frequently used in _single-page apps_ — apps that load the page once and then provide all interaction and navigation without loading additional documents. These pages can generate one or more XHR requests, typically in the form of HTTP POSTs/GETs, related to various user actions on a page. Sumo Logic provides the following monitoring coverage for XHR interactions: | ||
XHR is commonly used in *single-page applications* (SPAs), which load once and then handle all interactions without refreshing the page. These apps often generate multiple XHR requests—typically HTTP `POST` or `GET` calls—based on user actions. | ||
|
||
Pages can generate one or more XHR requests, typically in the form of HTTP POSTs, related to various user actions on a page. The following performance timings are measured: | ||
Sumo Logic provides monitoring coverage for XHR interactions, including the following performance timings: | ||
|
||
### `browser_time_to_first_xhr` | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link is giving 404. We should change it to following.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as https://github.com/SumoLogic/sumologic-documentation/pull/5423/files#r2135943359