Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data RumEvent = RumEvent' {}
- newRumEvent :: Text -> Text -> UTCTime -> Text -> RumEvent
- rumEvent_metadata :: Lens' RumEvent (Maybe Text)
- rumEvent_details :: Lens' RumEvent Text
- rumEvent_id :: Lens' RumEvent Text
- rumEvent_timestamp :: Lens' RumEvent UTCTime
- rumEvent_type :: Lens' RumEvent Text
Documentation
A structure that contains the information for one performance event that RUM collects from a user session with your application.
See: newRumEvent
smart constructor.
RumEvent' | |
|
Instances
Create a value of RumEvent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:metadata:RumEvent'
, rumEvent_metadata
- 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.
$sel:details:RumEvent'
, rumEvent_details
- A string containing details about the event.
$sel:id:RumEvent'
, rumEvent_id
- A unique ID for this event.
$sel:timestamp:RumEvent'
, rumEvent_timestamp
- The exact time that this event occurred.
$sel:type':RumEvent'
, rumEvent_type
- The JSON schema that denotes the type of event this is, such as a page
load or a new session.