• EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

사용자의 편의를 위해 제공되는 기계 번역입니다.

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

문제 신고

브라우저/SPA NRQL 쿼리 예제

이 문서에서는 NRQL 을 사용하여 SPA 데이터를 포함한 브라우저 데이터를 쿼리하고 탐색하는 방법을 설명합니다.

자바스크립트 오류 보기

JavaScript 오류 를 보려면 브라우저에서 보고한 JavaScriptError 이벤트NRQL 쿼리 를 실행합니다. 예를 들어:

SELECT * FROM JavaScriptError

다음은 JavaScriptError 속성을 포함하는 이 쿼리를 실행한 결과 JSON의 예입니다.

"event": {
"deviceType": "Desktop",
"firstErrorInSession": true,
"releaseIds": "{\"jQuery\":\"v3.1.1\",\"multiverse\":\"98e7ab6\"}",
"appName": "Book Staging Multiverse",
"errorClass": "Error",
"errorMessage": "Script error message",
"requestUri": "/synthetic-multiverse/",
"userAgentName": "Chrome",
"transactionName": "Unnamed Transaction",
"userAgentVersion": "44",
"appId": 950582,
"userAgentOS": "Linux",
"timestamp": 1502262005,
"browserInteractionID": ,
"parentEventId":
}

샘플 SPA 데이터 보기

브라우저 SPA 데이터NRQL 쿼리 를 실행하려면 BrowserInteraction 또는 AjaxRequest 이벤트를 사용하세요. 예를 들어:

SELECT * FROM BrowserInteraction

다음은 SPA 데이터로 만들 수 있는 NRQL 쿼리의 몇 가지 예입니다. 모든 브라우저 속성을 보려면 브라우저 기본 속성 을 참조하십시오.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.