Skip to main content

Class: Event

Defined in: core/src/TelemetryUtils.ts:24

Describes a single telemetry event. A telemetry event is when something occurs in the system.

Implements

Constructors

Constructor

new Event(config, userId, data): Event

Defined in: core/src/TelemetryUtils.ts:55

Parameters

config

any

userId

string

data

NewEvent

Returns

Event

Properties

environment

readonly environment: string

Defined in: core/src/TelemetryUtils.ts:33

The name of the environment that the event originated from. This is typically dev or prod.


origin

readonly origin: string

Defined in: core/src/TelemetryUtils.ts:38

The unique name of the service or client that the event originated from.


timestamp

readonly timestamp: Date

Defined in: core/src/TelemetryUtils.ts:43

The date and time that the event occured.


type

readonly type: string

Defined in: core/src/TelemetryUtils.ts:48

The type of event being recorded.

Implementation of

NewEvent.type


uid

readonly uid: string

Defined in: core/src/TelemetryUtils.ts:28

The universally unique identifier of the event.


userId

readonly userId: string

Defined in: core/src/TelemetryUtils.ts:53

The universally unique identifer of the user that sent the event.