mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-21 14:20:56 +00:00
The file_storage extension was added to otel-collector-config.yaml, which every stack mounts. That made the extension mandatory: the collector image runs as 10001:10001 and ships no writable directory, so any stack without a prepared volume would fail to start rather than merely lose offsets. The workload-validation stack mounts this same config and has no such volume. Offset persistence is only useful where logs outlive a restart. The workload harness creates a fresh log directory per run, so it has nothing to resume from. Move the extension, the receiver's storage reference and the extended service.extensions list into otel-collector-filestorage.yaml, layered as a second --config by the developer stack alone. The base config keeps start_at: beginning, which is what actually fixes the reported defect, and stays self-sufficient for every other stack. Verified against the pinned collector image: the base config validates and runs on its own with no volume mounted and still ingests a line written before startup; base plus overlay validates, preserves the base receiver's operators through the merge, and re-ingests that line zero times on a second run against the same volume.