feat(sensing-server): add secure opt-in OTLP log export

Import and harden the OpenTelemetry logging work from #1382. Preserve default stderr behavior, register and validate RuView semantic conventions, attach a published schema, enable TLS roots, pin demo images, and fix first-CSI node lifecycle reporting.

Supersedes #1382
Closes #1460

Co-authored-by: Jens Holdgaard Pedersen <jens@holdgaard.org>
This commit is contained in:
ruv
2026-07-28 22:42:18 -04:00
parent a70ca90525
commit 9fb5af7cf2
18 changed files with 1250 additions and 26 deletions
+6 -1
View File
@@ -29,7 +29,12 @@ COPY vendor/rufield/ /vendor/rufield/
# - homecore-server, the ADRs-126-134 HOMECORE native Rust port of
# Home Assistant (HA-wire-compat REST + WebSocket on :8123,
# SQLite + ruvector recorder, automation, assist, plugins, HAP)
RUN cargo build --release -p wifi-densepose-sensing-server --features mqtt 2>&1 \
#
# SENSING_FEATURES lets a compose file extend the sensing-server feature
# set (docker/otel-compose.yml builds with `mqtt,otel` for OTLP log
# export) without forking this Dockerfile.
ARG SENSING_FEATURES=mqtt
RUN cargo build --release -p wifi-densepose-sensing-server --features "${SENSING_FEATURES}" 2>&1 \
&& cargo build --release -p cog-ha-matter 2>&1 \
&& cargo build --release -p homecore-server 2>&1 \
&& strip target/release/sensing-server target/release/cog-ha-matter target/release/homecore-server