Adds a custom attribute with key and value to all future events sent
by the RUM monitor. Note that value must be supported by
StandardMessageCodec. Passing a value of null is the same as calling
removeAttribute
Notifies that the Exception or Error error occurred in currently
presented View, with an origin of source. You can optionally set
additional attributes for this error, an errorType and a
stackTrace
Notifies that an error occurred in currently presented View, with the
supplied message and with an origin of source. You can optionally
supply a stackTrace, errorType, and send additional attributes for
this error
Adds the result of evaluating a feature flag with a given name and
value to the view. Feature flag evaluations are local to the active view
and are cleared when the view is stopped
Adds a specific timing named name in the currently presented View. The
timing duration will be computed as the number of nanoseconds between the
time the View was started and the time the timing was added.
FOR INTERNAL USE ONLY
Deinitialize this RUM instance. Note that this does not propertly
deregister this RUM instance from the default Core, since this should
only be called from the Core
Notifies that a User Action of type has started, named name. This is
used to track long running user actions (e.g. "scroll"). Such an User
Action must be stopped with stopAction, and will be stopped
automatically if it lasts for more than 10 seconds. You can optionally
provide custom attributes.
Notifies that the a Resource identified by key started being loaded from
given url using the specified httpMethod. The supplied custom
attributes will be attached to this Resource.
Notifies that the View identified by key starts being presented to the
user. This view will show as name in the RUM explorer, and defaults to
key if it is not provided. You can also attach custom attributes,
who's values must be supported by StandardMessageCodec.
Notifies that the User Action of type, named name has stopped.
This is used to stop tracking long running user actions (e.g. "scroll"),
started with startAction.
Notifies that the Resource identified by key stopped being loaded
successfully and supplies additional information about the Resource loaded,
including its kind, the statusCode of the response, the size of the
Resource, and any other custom attributes to attach to the resource.
Notifies that the Resource identified by key stopped being loaded with an
Exception specified by error. You can optionally supply custom
attributes to attach to this Resource.
Notifies that the Resource identified by key stopped being loaded with
the supplied message. You can optionally supply custom attributes to
attach to this Resource.
Stops the current session. A new session will start in response to a call
to startView, addAction, or startAction. If the session is
started because of a call to addAction or startAction, the
last know view is restarted in the new session.
Notifies that the View identified by key stops being presented to the
user. You can also attach custom attributes, who's values must be
supported by StandardMessageCodec.