Parent issue: #3747
Split from plan review of #3747 (estimated ~200 lines).
- Creates
tools/stress/device-observer/cmd/device-observer/main.go with
flag parsing, signal handling, working-dir creation, observer-config.json
one-shot writer.
- Creates
internal/eapi/client.go (wrapper around goeapi.Connect,
RunShowJSON + RunShowText).
- Creates
internal/sample/eos.go (per-tick loop running the five show
commands, writing JSON files for the three JSON commands and .log files
for the two show logging commands).
- Stubs the other collectors as no-op interfaces so the goroutine wiring
exists from PR 1.
- Adds
tools/stress/device-observer/README.md (initial draft documenting
the binary, flags, and output file layout).
- Lands
docs/work-plan-3747.md (this file).
- Output: binary builds and produces the five per-sample files when pointed
at dz-local-device-dz1.
Parent issue: #3747
Split from plan review of #3747 (estimated ~200 lines).
tools/stress/device-observer/cmd/device-observer/main.gowithflag parsing, signal handling, working-dir creation,
observer-config.jsonone-shot writer.
internal/eapi/client.go(wrapper aroundgoeapi.Connect,RunShowJSON+RunShowText).internal/sample/eos.go(per-tick loop running the fiveshowcommands, writing JSON files for the three JSON commands and
.logfilesfor the two
show loggingcommands).exists from PR 1.
tools/stress/device-observer/README.md(initial draft documentingthe binary, flags, and output file layout).
docs/work-plan-3747.md(this file).at
dz-local-device-dz1.