@intellectual-frontiers/telemetry 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/mod.ts ADDED
@@ -0,0 +1,18 @@
1
+ // Spec: 0001-telemetry FR-026
2
+ /**
3
+ * Telemetry, OpenTelemetry-native signals as one typed library (its specification 0001-telemetry): the data model, W3C Trace Context and the configuration from the environment (as `otel`), OTLP/HTTP JSON
4
+ * (as `otlp`), typed signals declared once with spans, log events and metrics (as `signals`), and the pure reducer that renders them for a terminal (as `render`). This entry is pure: it names no host global,
5
+ * reads no environment and writes nothing. The code that exports, journals and shows signals is `@intellectual-frontiers/telemetry/host`.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { signals } from "@intellectual-frontiers/telemetry";
10
+ * const registry = signals.defineSignals({ "build": { kind: "span", attributes: {} } });
11
+ * ```
12
+ *
13
+ * @module
14
+ */
15
+ export * as otel from "./otel.ts";
16
+ export * as otlp from "./otlp.ts";
17
+ export * as render from "./render.ts";
18
+ export * as signals from "./signals.ts";