ブラウザ RUM メトリック
主要なブラウザ RUM メトリックは、[Geo]、[Pages & AJAX Requests]、および [Usage Stats] ダッシュボードに表示されます。また、 All Pages および Top Pages リストとメトリックブラウザにも表示されます。
さらに、[Metric Browser] によってこれらのメトリックを Ajax リクエスト、Iframe、アプリケーション、ベースページ、ブラウザ、デバイス、および地理的な場所のコンテキストで表示することもできます。
正常性ルールビルダーのブラウザ RUM ページ、Ajax、および Iframe メトリックに基づいて、カスタム正常性ルールを構築できます。これらのルールを使用して、インストールの主要なメトリックを自動的にモニタします。「正常性ルール」を参照してください。
Browser RUM Timing Metrics Overview
The following provides an overview of the first Browser RUM page and Iframe timing metrics. For key Ajax metrics, see unknown Ajax Metrics Availability. Metrics in blue are available only from NavTime browsers. You may see a value of unknown for some metrics taken using older browsers.
- First Page
- Subsequent Pages
- Connection Details
NavTiming-capable browsers also provide highly granular information on connection details.
Timing Metric Definitions
Timing metrics are the average times, in milliseconds, over the time range selected in the Controller UI or REST API call. The three-letter abbreviation is the short name as it is recorded in the web beacon.
| Name (Short Name) | NavTiming Capable Browsers1 | Browsers without NavTiming Support | Available For . . . | Definition |
|---|---|---|---|---|
| Ajax Callback Execution Time (DPT) | responseEnd domContentLoadedEventStart | responseEnd to domContentLoadedEventStart (context of the Ajax object) | Ajax Requests (XHR, Fetch API) | Time for the browser to process the Ajax response.This typically includes the time to apply the response data to the DOM. |
| Ajax Response Download Time (DDT) | responseStartf to responseEnd (context of the Ajax object) | responseStart responseEnd | Ajax Requests (XHR, Fetch API) | Time for the browser to download the complete Ajax response. |
Ajax Request Errors per Minute (Short name based on ARE entries) |
| Total number of Ajax requests that generate an error per minute. | ||
Ajax Requests per Minute (Short name based on PLC entries) |
| Total number of Ajax requests per minute. | ||
| Application Server Calls per Minute |
| Number of requests that actually hit the application server, rather than a cache. | ||
| Application Server Time(also called Server Time in the UI) |
| Processing time for requests on the application server. | ||
| Browser Queue Time |
| |||
| DOM Building Time (DPT) | responseEnd to domContentLoadedEventStart | N/A |
| Time for the browser to build the Document Object Model (DOM) and make it available for JavaScript to apply rendering logic. |
| DOM Ready Time (DOM)2 | navigationStart to domContentLoadedEventStart | Time between the writing of the starttime onready jquery.onready(). |
| Interval between the time that a user initiates a request and the time that the DOMContentLoaded event (or the internal handler's onready event) occurs. |
| Domain Lookup Time (DNS) | domainLookupStart to domainLookupEnd | N/A |
| Time to complete the domain lookup portion of the server connection time. |
End User Response Time (PLT)2 | navigationStart to loadEventEnd | Time between the writing of the starttime onload |
| Average interval between the time that a user initiates a request and the completion of the page load of the response in the user's browser. In the context of an Ajax request, it ends when the response has been completely processed. For information about End User Response Time for SPA2 pages, see SPA2 Metrics. |
First Byte Time (FBT)2 | navigationStart to responseStart | Time between the writing of the starttime |
| Interval between the time that a user initiates a request and the time that the browser receives the first response byte. In the context of an Ajax request, First Byte Time is the interval between the Ajax request dispatch and the time that the browser receives the first response byte. |
| Front End Time (FET) | responseStart to loadEventEnd | Time between when the page's JavaScript Agent begins executing and the onload event. |
| Interval between the arrival of the first byte of text response and the completion of the response page rendering by the browser. Includes HTML Download, DOM Building Time, and Resource Fetch Time. |
| HTML Download and DOM Building Time (DRT) | responseStart to domContentLoadedEventStart | Time between when the page's JavaScript Agent begins executing and an internal handler's onready jquery.onready() |
| Time to make the complete HTML document (DOM) available for JavaScript to apply rendering logic. Includes the HTML Download and the DOM Building Time. |
| HTML Download Time (DDT) | responseStart to responseEnd | N/A |
| Time for the browser to download the complete HTML document content. |
Iframe Requests per Minute (Short name based onPLC entries) |
| Total number of Iframe requests per minute. | ||
| Images Loaded per Pageview |
| Total number of images in a pageview Calculated after page has completely loaded. | ||
Page Complete Time (PCT) | N/A | N/A |
| Total time for the browser to render all visual page elements (both in and out of the viewport). Available for SPA base pages only. For information about Page Complete Time for SPA2 pages, see SPA2 Metrics. |
Page Requests per Minute (Short name based on PLC entries) |
| Total number of Page requests per minute. This is the metric displayed across most of the UI. | ||
Page views with JavaScript Errors per minute (Short name based onEPM entries) |
| Total number of page views that contain JavaScript errors per minute. | ||
| Resource Fetch Time | domContentLoadedEventStart to loadEventEnd | Time between an internal handler's onready event, similar to jquery.onready() , and onload . |
| Time for the browser to complete the download of remaining resources, including images, and finish rendering the page. |
| Resources Loaded per Pageview |
| Total number of resources in a pageview Calculated after the page has completely loaded. | ||
Requests per Minute (Short name based on PLC entries) |
| Total number of requests (Page + Ajax + Iframe) per minute. | ||
| Scripts Loaded per Pageview |
| Total number of scripts in a pageview Calculated after the page has completely loaded. | ||
| Server Connection Time (SCT) | navigationStart to requestStart | N/A |
| Interval between the time that a user initiates a request and the start of fetching the response document from the server or application task. Includes the time spent on redirects, domain lookups, TCP connects and SSL handshakes. |
| SSL Handshake Time (SSL)3 | secureConnectionStart to connectEnd | N/A |
| Time taken to complete the SSL handshake. |
| TCP Connect Time (TCP) | connectStart to connectEnd | N/A |
| Time to complete the TCP connect portion of the server connection time, the equivalent of one network roundtrip of latency. |
| Total Resource Redirect Time |
| Time for all redirects associated with fetching resources. Calculated after the page has completely loaded. | ||
Visually Complete Time (VCT) | N/A | N/A |
| Total time for all visual elements within the first screen (above-the-fold content) to load in an end user’s browser.Calculated using the last visual change to the page in a browser window. For information about Visually Complete Time for SPA2 pages, see SPA2 Metrics. |
Ajax メトリックの使用可能性
Ajax リクエストは大規模なページのコンテキストで発生するため、ブラウザのタイプに関係なく、次の 4 つのコアメトリックは常に使用可能です。
ナビゲーションタイミング API をサポートしているブラウザの詳細については、Can I Use Web サイトを参照してください。
リソース タイミング メトリック
リソース タイミング メトリックは、ミリ秒単位の中央時間です。[Resource Performance] ダッシュボードに表示されるリソース タイミング メトリックは raw データです。
| メトリック名 | 計算方法 | 説明 |
|---|---|---|
| ブラウザ待機 | startTime または redirectEnd から fetchStart | リダイレクションまたは要求開始からブラウザがリソースの取得を開始するまでの時間。 |
| リダイレクト時間 | redirectStart ~ redirectEnd |
リソースの取得に関連付けられているすべてのリダイレクトの時間。 |
| DNS 待機時間 | fetchStart ~ domainLookupStart | ブラウザがリソースのドメイン名ルックアップを開始するまでにブラウザがリソースの取得を開始するまでの時間。 |
| DNS 時間 | サーバ接続時間のドメイン参照部分を完了するまでの時間。 | |
| TCP 待機時間 | domainLookupEnd ~ connectStart |
接続が確立される前にブラウザがリソースのドメイン名を検索する時間。 |
| 接続時間(Connection Time) | connectStart ~ connectEnd | リソースの TCP 接続の確立を完了する時間:遅延の 1 つのネットワーク ラウンドトリップに相当します。 |
| SSL 時間 |
( |
サーバへのセキュアな接続を確立するための時間。 |
| Request Wait Time |
接続が閉じられる前に、サーバ、キャッシュ、またはローカルリソースからリソースに対して要求が行われる時間。 | |
| リクエスト日時 | requestStart ~ responseStart |
ブラウザがサーバ、キャッシュ、またはローカルリソースからのリソースの要求を完了するまでの時間。 |
| 応答時間 | responseStart ~ responseEnd | ブラウザが完全な HTML ドキュメントコンテンツをダウンロードする時間。Ajax 要求のコンテキストで、ブラウザが完全な Ajax 応答をダウンロードするまでの時間。 |
| 最初のバイト時間 | startTime ~ responseStart | ブラウザがリソースの最初のバイトを受信するまでに要求が行われる時間。 |
| リソースの読み込み時間 | startTime ~ responseEnd | ブラウザが要求を開始してリソースの応答を受信するまでの時間。 |
| ブラウザキューの時間 | ブラウザ待機時間 + DNS 待機時間 + 要求待機時間 | リソースの合計待機時間。 |
| TCP 時間 | secureConnectionStart to connectStart | サーバへのセキュアな接続を確立するために費やした時間(SSL 時間と同じ)。 |
詳細については、「Resource Timing Attributes」を参照してください。
タイミングメトリックの構成
アプリケーションが Ajax リクエストまたはリソースを継続的に送信する場合は、以下のデフォルトの JavaScript タイミングメトリックを構成することができます。
たとえば、SPA2 アプリで Ajax リクエストがデフォルトの maxInactive 時間(3 秒)よりも速いレート(つまり 2 秒)で送信された場合、ページの読み込み時間のメトリックが誤って拡大する可能性があります。これを修正するには、maxInactiveTime を 2 秒に設定して、ページの読み込み時間が Ajax リクエストのレートと一致するようにします。
maxResourceQuietTime
登録済みのすべてのリソースがロードされ、currentTime から最後のリソースのロード時間までの経過時間が maxQuietTime 以上の場合、リソースオブザーバは停止します。
(function(config){
config.navComplete = {
maxResourceQuietTime: 5000 // For SPA2 applications, the default value is 5000 (5 seconds). For non-SPA applications, the default value is 1000 (1 second).
};
})(window['adrum-config'] || (window['adrum-config'] = {}));
maxXhrQuietTime
すべての XHR が成功し、currentTime から最後の XHR ロード時間までの経過時間が maxQuietTime 以上の場合、XHR オブザーバは停止します。
(function(config){
config.navComplete = {
maxXhrQuietTime: 3000 // For SPA2 applications, the default value is 3000 (3 seconds). For non-SPA applications, the default value is 1000 (1 second).
};
})(window['adrum-config'] || (window['adrum-config'] = {}));
と は、完了()とマークされるページ観測期間に寄与します。 が発生する方法は 2 つあります。
- XHR オブザーバ()とリソースオブザーバ()の両方が実行を停止しました。
- 最後のダウンロードアクティビティからの経過時間が を超えました。これは、最新のリソースまたは XHR 読み込みから十分な時間が経過したことを意味します。
これらのシナリオのいずれかに到達すると、JavaScript エージェントはページが完了したと見なし、そのタイミングを [Visually Complete Time] としてマークし、ページを Splunk AppDynamics に報告します。
maxInactiveTime
maxInactiveTime は、現在の時刻から最後のリソース(つまり、Ajax コール)が発生した時刻を差し引いたものです。この値が maxInactiveTime より大きい場合、ナビゲーションオブザーバは完了したと見なされ、[Visually Complete Time] 値が送信されます。 (function(config){
config.navComplete = {
maxInactiveTime: 3000 // For SPA2 applications, the default value is 3000 (3 seconds). For non-SPA applications, the default value is 1000 (1 second).
};
})(window['adrum-config'] || (window['adrum-config'] = {}));