datadog-ux-utils Documentation - v1.0.0
Preparing search index...
datadog
getRum
Function getRum
getRum
()
:
{
init
:
(
config
:
RumInitConfiguration
)
=>
void
;
addAction
:
(
name
:
string
,
context
?:
RumActionContext
)
=>
void
;
addError
:
(
e
:
any
,
context
?:
any
)
=>
void
;
addTiming
:
(
name
:
string
,
time
?:
number
)
=>
void
;
startSessionReplayRecording
:
()
=>
void
;
setUser
?:
(
user
:
Record
<
string
,
any
>
)
=>
void
;
addFeatureFlagEvaluation
?:
(
key
:
string
,
value
:
any
)
=>
void
;
addGlobalContext
:
(
key
:
string
,
value
:
any
)
=>
void
;
setGlobalContext
?:
(
ctx
:
Record
<
string
,
any
>
)
=>
void
;
getGlobalContext
?:
()
=>
Record
<
string
,
any
>
;
removeGlobalContext
?:
(
key
:
string
)
=>
void
;
}
Escape hatch for advanced consumers. Prefer the helpers above in library code.
Returns
{
init
:
(
config
:
RumInitConfiguration
)
=>
void
;
addAction
:
(
name
:
string
,
context
?:
RumActionContext
)
=>
void
;
addError
:
(
e
:
any
,
context
?:
any
)
=>
void
;
addTiming
:
(
name
:
string
,
time
?:
number
)
=>
void
;
startSessionReplayRecording
:
()
=>
void
;
setUser
?:
(
user
:
Record
<
string
,
any
>
)
=>
void
;
addFeatureFlagEvaluation
?:
(
key
:
string
,
value
:
any
)
=>
void
;
addGlobalContext
:
(
key
:
string
,
value
:
any
)
=>
void
;
setGlobalContext
?:
(
ctx
:
Record
<
string
,
any
>
)
=>
void
;
getGlobalContext
?:
()
=>
Record
<
string
,
any
>
;
removeGlobalContext
?:
(
key
:
string
)
=>
void
;
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
datadog-ux-utils Documentation - v1.0.0
Loading...
Escape hatch for advanced consumers. Prefer the helpers above in library code.