StoreMetrics
interfaceextends BaseMessage
Store performance metrics.
Sent by a store in response to
RequestMetrics. The counters
cover the lifetime of the store instance and reset on reload.
Extensions with performanceMetrics: true can poll these periodically
to render real-time dashboards.Properties
| Name | Type | Description |
|---|---|---|
metrics | { avgProcessingTimeMs: number; connectorCount: number; dedupHits: number; effectCount: number; eventCount: number; eventsPerSecond: number; middlewareCount: number; middlewareRejections: number; queueDepth: number; reducerCount: number; subscriberCount: number } | |
sourceId | string | UUID of the sender (store wrapper ID or extension ID). |
sourceRole | DevtoolsRole | Role of the sender. |
storeId | string | |
timestamp | string | ISO 8601 timestamp of when the message was created. |
type | "STORE_METRICS" | Discriminant field identifying the message type. |