Module Values.RumEventSource

A structure that contains the information for one performance event that RUM collects from a user session with your application.

Sourcetype nonrec t = {
  1. id : RumEventIdString.t;
    (*

    A unique ID for this event.

    *)
  2. timestamp : Timestamp.t;
    (*

    The exact time that this event occurred.

    *)
  3. type_ : String_.t;
    (*

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

    *)
  4. metadata : JsonValue.t option;
    (*

    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.

    *)
  5. details : JsonValue.t;
    (*

    A string containing details about the event.

    *)
}
Sourceval context_ : string
Sourceval make : ?metadata:??? -> id:RumEventIdString.t -> timestamp:Timestamp.t -> type_:String_.t -> details:JsonValue.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of RumEventIdString.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t