Type Alias: MappingStats
type MappingStats = {
index: number;
channel?: string;
events_matched: number;
updates_applied: number;
drops: Partial<Record<IngestionDropReason, number>>;
last_event_at: Date | null;
};
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:29
The ingestion counters of one EventMapping.
Properties
index
index: number;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:31
Index of the mapping in the pipeline's mapping list.
channel?
optional channel?: string;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:33
The mapping's channel pattern, when it declares one.
events_matched
events_matched: number;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:35
Events whose selectors matched this mapping.
updates_applied
updates_applied: number;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:37
(entity update, scene) pairs this mapping successfully applied.
drops
drops: Partial<Record<IngestionDropReason, number>>;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:39
Events this mapping matched but did not apply, by reason.
last_event_at
last_event_at: Date | null;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:41
When this mapping last matched an event.