-
public final class LongTaskEventSchema of common properties of RUM events Schema of all properties of events that can have parent actions View Container schema for views that are nested (webviews in mobile)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLongTaskEvent.Companionpublic final classLongTaskEvent.ApplicationApplication properties
public final classLongTaskEvent.LongTaskEventSessionSession properties
public final classLongTaskEvent.LongTaskEventViewView properties
public final classLongTaskEvent.UsrUser properties
public final classLongTaskEvent.AccountAccount properties
public final classLongTaskEvent.ConnectivityDevice connectivity properties
public final classLongTaskEvent.DisplayDisplay properties
public final classLongTaskEvent.SyntheticsSynthetics properties
public final classLongTaskEvent.CiTestCI Visibility properties
public final classLongTaskEvent.OsOperating system properties
public final classLongTaskEvent.DeviceDevice properties
public final classLongTaskEvent.DdInternal properties Internal properties
public final classLongTaskEvent.ContextUser provided context
public final classLongTaskEvent.ActionAction properties
public final classLongTaskEvent.ContainerView Container properties (view wrapping the current view)
public final classLongTaskEvent.LongTaskLong Task properties
public final classLongTaskEvent.CellularCellular connectivity properties
public final classLongTaskEvent.ViewportThe viewport represents the rectangular area that is currently being viewed. Content outside the viewport is not visible onscreen until scrolled into view.
public final classLongTaskEvent.DdSessionSession-related internal properties
public final classLongTaskEvent.ConfigurationSubset of the SDK configuration options in use during its execution
public final classLongTaskEvent.ProfilingRUM Profiler Internal Context schema
public final classLongTaskEvent.ContainerViewAttributes of the view's container
public final classLongTaskEvent.Scriptpublic enumLongTaskEvent.LongTaskEventSourceThe source of this event
public enumLongTaskEvent.LongTaskEventSessionTypeType of the session
public enumLongTaskEvent.ConnectivityStatusStatus of the device connectivity
public enumLongTaskEvent.Interfacepublic enumLongTaskEvent.EffectiveTypeCellular connection type reflecting the measured network performance
public enumLongTaskEvent.DeviceTypeDevice type info
public enumLongTaskEvent.EntryTypeType of the event: long task or long animation frame
public enumLongTaskEvent.PlanSession plan: 1 is the plan without replay, 2 is the plan with replay (deprecated)
public enumLongTaskEvent.SessionPreconditionThe precondition that led to the creation of the session
public enumLongTaskEvent.ProfilingStatusUsed to track the status of the RUM Profiler.
They are defined in order of when they can happen, from the moment the SDK is initialized to the moment the Profiler is actually running.
starting: The Profiler is starting (i.e., when the SDK just started). This is the initial status.running: The Profiler is running.stopped: The Profiler is stopped.error: The Profiler encountered an error. Seeerror_reasonfor more details.
public enumLongTaskEvent.ErrorReasonThe reason the Profiler encountered an error. This attribute is only present if the status is
error.Possible values:
not-supported-by-browser: The browser does not support the Profiler (i.e.,window.Profileris not available).failed-to-lazy-load: The Profiler script failed to be loaded by the browser (may be a connection issue or the chunk was not found).missing-document-policy-header: The Profiler failed to start because its missingDocument-Policy: js-profilingHTTP response header.unexpected-exception: An exception occurred when starting the Profiler.
public enumLongTaskEvent.InvokerTypeType of the invoker of the script
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LongTaskEvent(Long date, LongTaskEvent.Application application, String service, String version, String buildVersion, String buildId, String ddtags, LongTaskEvent.LongTaskEventSession session, LongTaskEvent.LongTaskEventSource source, LongTaskEvent.LongTaskEventView view, LongTaskEvent.Usr usr, LongTaskEvent.Account account, LongTaskEvent.Connectivity connectivity, LongTaskEvent.Display display, LongTaskEvent.Synthetics synthetics, LongTaskEvent.CiTest ciTest, LongTaskEvent.Os os, LongTaskEvent.Device device, LongTaskEvent.Dd dd, LongTaskEvent.Context context, LongTaskEvent.Action action, LongTaskEvent.Container container, LongTaskEvent.LongTask longTask)
-
Method Summary
Modifier and Type Method Description final StringgetType()final LonggetDate()final LongTaskEvent.ApplicationgetApplication()final StringgetService()final StringgetVersion()final StringgetBuildVersion()final StringgetBuildId()final StringgetDdtags()final LongTaskEvent.LongTaskEventSessiongetSession()final LongTaskEvent.LongTaskEventSourcegetSource()final LongTaskEvent.LongTaskEventViewgetView()final LongTaskEvent.UsrgetUsr()final LongTaskEvent.AccountgetAccount()final LongTaskEvent.ConnectivitygetConnectivity()final LongTaskEvent.DisplaygetDisplay()final LongTaskEvent.SyntheticsgetSynthetics()final LongTaskEvent.CiTestgetCiTest()final LongTaskEvent.OsgetOs()final LongTaskEvent.DevicegetDevice()final LongTaskEvent.DdgetDd()final LongTaskEvent.ContextgetContext()final LongTaskEvent.ActiongetAction()final LongTaskEvent.ContainergetContainer()final LongTaskEvent.LongTaskgetLongTask()final JsonElementtoJson()-
-
Constructor Detail
-
LongTaskEvent
LongTaskEvent(Long date, LongTaskEvent.Application application, String service, String version, String buildVersion, String buildId, String ddtags, LongTaskEvent.LongTaskEventSession session, LongTaskEvent.LongTaskEventSource source, LongTaskEvent.LongTaskEventView view, LongTaskEvent.Usr usr, LongTaskEvent.Account account, LongTaskEvent.Connectivity connectivity, LongTaskEvent.Display display, LongTaskEvent.Synthetics synthetics, LongTaskEvent.CiTest ciTest, LongTaskEvent.Os os, LongTaskEvent.Device device, LongTaskEvent.Dd dd, LongTaskEvent.Context context, LongTaskEvent.Action action, LongTaskEvent.Container container, LongTaskEvent.LongTask longTask)
- Parameters:
date- Start of the event in ms from epochapplication- Application propertiesservice- The service name for this applicationversion- The version for this applicationbuildVersion- The build version for this applicationbuildId- Generated unique ID of the application build.ddtags- Tags of the event in key:value format, separated by commas (e.g.session- Session propertiessource- The source of this eventview- View propertiesusr- User propertiesaccount- Account propertiesconnectivity- Device connectivity propertiesdisplay- Display propertiessynthetics- Synthetics propertiesciTest- CI Visibility propertiesos- Operating system propertiesdevice- Device propertiesdd- Internal properties Internal propertiescontext- User provided contextaction- Action propertiescontainer- View Container properties (view wrapping the current view)longTask- Long Task properties
-
-
Method Detail
-
getApplication
final LongTaskEvent.Application getApplication()
-
getService
final String getService()
-
getVersion
final String getVersion()
-
getBuildVersion
final String getBuildVersion()
-
getBuildId
final String getBuildId()
-
getSession
final LongTaskEvent.LongTaskEventSession getSession()
-
getSource
final LongTaskEvent.LongTaskEventSource getSource()
-
getView
final LongTaskEvent.LongTaskEventView getView()
-
getUsr
final LongTaskEvent.Usr getUsr()
-
getAccount
final LongTaskEvent.Account getAccount()
-
getConnectivity
final LongTaskEvent.Connectivity getConnectivity()
-
getDisplay
final LongTaskEvent.Display getDisplay()
-
getSynthetics
final LongTaskEvent.Synthetics getSynthetics()
-
getCiTest
final LongTaskEvent.CiTest getCiTest()
-
getOs
final LongTaskEvent.Os getOs()
-
getDevice
final LongTaskEvent.Device getDevice()
-
getDd
final LongTaskEvent.Dd getDd()
-
getContext
final LongTaskEvent.Context getContext()
-
getAction
final LongTaskEvent.Action getAction()
-
getContainer
final LongTaskEvent.Container getContainer()
-
getLongTask
final LongTaskEvent.LongTask getLongTask()
-
toJson
final JsonElement toJson()
-
-
-
-