docs(telemetry): drop the legacy daemon name from the workload README

The rename check rewrites a bare pre-rename binary name in any processed
doc, which turned the sampler's selector description into "against xrpld
or xrpld". Describe the fallback without spelling the legacy token.
This commit is contained in:
Pratik Mankawde
2026-08-14 20:23:11 +01:00
parent d059f21bf3
commit 2770dbbf11

View File

@@ -314,12 +314,13 @@ per leg; it is rarely run by hand.
./collect_system_metrics.sh 5020,5021,5022 300 /tmp/metrics.json
```
Processes are selected by matching `argv[0]`'s basename against `xrpld` or
`rippled`. A wrapper that merely names the binary in its arguments, and
unrelated tools whose command line happens to contain the string, are not
sampled including them diluted the CPU average and attributed a foreign
process's RSS to the node. `ps -C xrpld` is not usable for this: xrpld renames
itself, so its `comm` is `xrpld-main`.
Processes are selected by matching `argv[0]`'s basename against the daemon
binary name; the pre-rename spelling is accepted too, so the sampler still
works against an older deployment. A wrapper that merely names the binary in
its arguments, and unrelated tools whose command line happens to contain the
string, are not sampled including them diluted the CPU average and
attributed a foreign process's RSS to the node. `ps -C xrpld` is not usable
for this: xrpld renames itself, so its `comm` is `xrpld-main`.
Selection covers the whole host, so a second xrpld from another checkout is
sampled as well. Benchmark on a machine running one cluster only.