• /
  • ログイン

Browser agent and SPA API

actionText (Browser SPA API)

Sets the text value of the HTML element that was clicked to start a browser interaction.

addPageAction (Browser agent API)

Reports a Browser PageAction event to New Relic One along with a name and optional attributes.

addRelease (Browser agent API)

Adds a unique name and ID to identify releases with multiple JavaScript bundles on the same page.

addToTrace (Browser agent API)

Adds a JavaScript object with a custom name, start time, etc. to an in-progress session trace.

createTracer (Browser SPA API)

Times sub-components of a SPA interaction separately, including wait time and JS execution time.

end (Browser SPA API)

Ends the SPA interaction at the current time.

finished (Browser agent API)

Records an additional time point as "finished" in a session trace, and sends the event to New Relic One.

getContext (Browser SPA API)

Stores values for the current SPA interaction asynchronously in Browser.

ignore (Browser SPA API)

Overrides other SPA save() calls; ignores an interaction so it is not saved or sent to New Relic.

interaction (Browser SPA API)

Returns a new API object that is bound to the current SPA interaction.

noticeError (Browser agent API)

Identifies a browser error without disrupting your app's operations.

onEnd (Browser SPA API)

Change the values associated with a SPA interaction before the interaction is saved .

save (Browser SPA API)

Ensures a SPA browser interaction will be saved when it ends.

setAttribute (Browser SPA API)

Adds a custom SPA attribute only to the current interaction in Browser.

setCurrentRouteName (Browser SPA API)

Gives SPA routes more accurate names than default names. Monitors specific routes rather than by default grouping.

setCustomAttribute (Browser agent API)

Adds a user-defined attribute name and value to subsequent events on the page.

setErrorHandler (Browser agent API)

Allows selective ignoring of known errors that the Browser agent captures.

setName (Browser SPA API)

Sets the name and trigger of a SPA's browser interaction that is not a route change or URL change.

setPageViewName (Browser agent API)

Groups page views to help URL structure or to capture the URL's routing information.

問題を作成するこのページを編集する
Copyright © 2020 New Relic Inc.