La referencia de la API está disponible solo en inglés por ahora.

StoreMetrics

interface
messages.ts:152

extends 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

NameTypeDescription
metrics{ avgProcessingTimeMs: number; connectorCount: number; dedupHits: number; effectCount: number; eventCount: number; eventsPerSecond: number; middlewareCount: number; middlewareRejections: number; queueDepth: number; reducerCount: number; subscriberCount: number }
sourceIdstringUUID of the sender (store wrapper ID or extension ID).
sourceRoleDevtoolsRoleRole of the sender.
storeIdstring
timestampstringISO 8601 timestamp of when the message was created.
type"STORE_METRICS"Discriminant field identifying the message type.