IF Commons GitHub

Telemetry

2 specifications, 31 requirements. All libraries

0001 Telemetry

RequirementMechanismWhoNote
FR-001checkbun test suite/otel.test.ts: the model's types (type-level tests) and the values an attribute can hold
FR-002checkbun test suite/otel.test.ts: ids from given bytes, zeros refused, brands kept apart
FR-003checkbun test suite/otel.test.ts: traceparent and tracestate against the W3C examples, with property round trips
FR-004checkbun test suite/otlp.test.ts: OTLP JSON encode and decode, round-trip properties, int64 as strings, unknown fields ignored
FR-005checkbun test suite/otel.test.ts: configuration from OTEL_* records, invalid values warned and defaulted
FR-006checkbun test suite/otel.test.ts: redaction of secret attributes, URLs, tokens, name=value pairs, provider token formats
FR-007checkbun test suite/otel.test.ts: attribute, event and link limits with dropped counts
FR-008checkbun test suite/otel.test.ts: the samplers, ratio decided by the trace id alone
FR-009checkbun test suite/signals.test.ts: defineSignals, with @ts-expect-error for undeclared kinds and wrong attributes
FR-010checkbun test suite/signals.test.ts: span ends by its Result, exceptions recorded and rethrown, one end only
FR-011checkbun test suite/signals.test.ts: an exact span tree from a fixed clock and random source
FR-012checkbun test suite/signals.test.ts: in-memory, simple and batch processors, drops counted, flush bounded
FR-013checkbun test suite/signals.test.ts: counter, up-down, gauge and histogram aggregation
FR-014checkbun test suite/otel-host.test.ts: export to a local receiver, retries on 503 with Retry-After, never throws
FR-015checkbun test suite/otel-host.test.ts: the probe gives up within 150 ms, the exit wait within a second
FR-016checkbun test suite/otel-host.test.ts: the journal writes OTLP lines, rotates and removes files past their age
FR-017checkbun test suite/otel-host.test.ts: the current span across await, and the parent from TRACEPARENT
FR-018checkbun test suite/process-span.test.ts: proc spans, with traceparent passed on; the http client and serve spans are proved by commons/ts tests/runtime/otel-net.test.ts until the library net is lifted
FR-019checkbun test suite/otel-host.test.ts: the receiver decodes, refuses protobuf (415) and bad JSON (400)
FR-020gate.github/workflows/ifc-typescript.auto.ymlthe otel-conformance job runs suite/otel-conformance.test.ts against the pinned OpenTelemetry Collector and compares its file export
FR-021checkbun test suite/render.test.ts: the reducer in each mode, snapshots through the terminal emulator
FR-022checkbun test suite/render.test.ts: lines cut by display width, elapsed time and progress
FR-023checkbun test suite/render.test.ts: the export warning said once, dimmed, at the end
FR-024checkbun test suite/console.test.ts: the console is the only writer, its modes, uncaught errors recorded and rendered
FR-025checkbun test suite/render.test.ts: the pending and action marks and roles; a pending or an action is no warning
FR-026checkbun run verifythe package is built, inspected and packed by tools/pack.ts; tests/commons-packages.test.ts installs the tarball and runs every entry on Node 26 and Bun and type-checks a consumer

0002 Questions of captured signals in SQL

RequirementMechanismWhoNote
FR-001checkbun test suite/query.test.ts
FR-002checkbun test suite/query.test.ts
FR-003checkbun test suite/query.test.ts
FR-004checkbun test suite/query.test.ts
FR-005checkbun test suite/query.test.ts

Titles, headings, exports, tables, columns and requirements. Esc closes.