Observability Exports
Business Events Tracking
track(eventName, properties?, options?)
Emit a business event for the portal dashboard.
| Name | Type | Description |
|---|---|---|
eventName | string | Event name (e.g. 'order_placed') |
properties | Record<string, any> | Key-value event data |
options | TrackOptions | Optional overrides |
TrackOptions:
| Name | Type | Description |
|---|---|---|
threadId | string | Override auto-resolved thread ID |
executionId | string | Override auto-resolved execution ID |
timestamp | string | ISO-8601 timestamp (defaults to now) |
flushTrackEvents()
Manually flush all buffered events. Returns a Promise<void>.
Next Steps
API Client
View API client exports
Standalone Modules
View standalone modules