Module export

Module export 

Source
Expand description

2026-09-26: Exporters. Each renders a crate::snapshot::TelemetrySnapshot or the instruments behind it into a String; the server does the I/O.

  • prometheus: the telemetry section of GET /metrics.
  • events: one JSON object per line for GET /v1/events (SSE).
  • otlp (cargo feature otlp): an OTLP/HTTP JSON metrics body.

Owner: telemetry. Invariants: no exporter performs I/O.

Modulesยง

events
2026-09-26: The /v1/events stream: one JSON object per SSE data: line (JSONL); the server sends one per device-sample period.
prometheus
2026-09-26: The telemetry section of /metrics in the Prometheus text format, which the server appends to its registry output.