InstrumentationEvent type
Home > @rimitive/core > InstrumentationEvent
InstrumentationEvent type
Section titled “InstrumentationEvent type”An instrumentation event emitted by services.
Signature:
export type InstrumentationEvent = { type: string; timestamp: number; data: Record<string, unknown>; contextId?: string;};Example
Section titled “Example”const event: InstrumentationEvent = { type: 'signal:write', timestamp: Date.now(), data: { signalId: 'abc-123', oldValue: 0, newValue: 1, },};