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;
continuations_active: number;
};
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:33
The ingestion counters of one EventMapping.
Properties
index
index: number;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:35
Index of the mapping in the pipeline's mapping list.
channel?
optional channel?: string;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:37
The mapping's channel pattern, when it declares one.
events_matched
events_matched: number;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:39
Events whose selectors matched this mapping.
updates_applied
updates_applied: number;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:41
(entity update, scene) pairs this mapping successfully applied.
drops
drops: Partial<Record<IngestionDropReason, number>>;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:43
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:45
When this mapping last matched an event.
continuations_active
continuations_active: number;
Defined in: livelink.clients/livelink.agent/sources/data/IngestionStats.ts:52
ContinuousUpdates this mapping currently drives. The global gauge answers "is anything moving?"; this one answers "which mapping is moving it?", which is the question with more than one mapping in play — and the one that tells a motion nobody replaced apart from a stream that genuinely stopped.