EventMonitor
Constructors
Constructor
new EventMonitor(): EventMonitor;
Returns
EventMonitor
Methods
isEnabled()
static isEnabled(): boolean;
Checks if the Event Monitor is enabled in the config.
Returns
boolean
track()
static track(eventType, eventName): void;
Track an occurrence of an event. No network call is made; an in-memory counter is incremented and later flushed in batch. If monitoring is disabled, the call is a no‑op.
Parameters
| Parameter | Type | Description |
|---|---|---|
eventType | string | The event type (remote action, datasource, etc) |
eventName | string | Logical event name (e.g. brick name or endpoint id). |
Returns
void