Skip to content

RumEvent

Source code in docs_src/capo_rum/types/rum_event.py
class RumEvent(TypedDict, closed=True):
    id: "str"
    """<p>A unique ID for this event.</p>"""
    timestamp: "datetime.datetime"
    """<p>The exact time that this event occurred.</p>"""
    type: "str"
    """<p>The JSON schema that denotes the type of event this is, such as a page load or a new session.</p>"""
    metadata: NotRequired["capo_rum.types.json_value.JsonValue"]
    """<p>Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.</p>"""
    details: "capo_rum.types.json_value.JsonValue"
    """<p>A string containing details about the event.</p>"""

details instance-attribute

details: JsonValue

A string containing details about the event.

id instance-attribute

id: str

A unique ID for this event.

metadata instance-attribute

metadata: NotRequired[JsonValue]

Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.

timestamp instance-attribute

timestamp: datetime

The exact time that this event occurred.

type instance-attribute

type: str

The JSON schema that denotes the type of event this is, such as a page load or a new session.