JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 106
  • Score
    100M100P100Q86533F
  • License Apache-2.0

Trace store contract, metrics, and timelines for Loop Engine

Package Exports

  • @loop-engine/observability

Readme

@loop-engine/observability

Loop Engine observability: trace store contract, in-memory trace storage, and timeline/metrics helpers.

Trace contract (canonical)

Use these types for any TraceStore implementation (OSS MemoryTraceStore, hosted PostgresTraceStore):

import {
  MemoryTraceStore,
  type TraceRecord,
  type TraceStore,
} from "@loop-engine/observability";

Trace-derived timelines

From persisted TraceRecord[] (e.g. after getRunTrace):

import { buildTimelineFromTrace, computeMetricsFromTrace } from "@loop-engine/observability";

Instance-based timelines (runtime history)

From @loop-engine/core LoopInstance + TransitionRecord[]:

import { buildTimeline, computeMetrics, replayLoop } from "@loop-engine/observability";

Forge alias package

@bd-forge/loopengine-observability re-exports this package for backward compatibility.

License

Apache-2.0