pub fn register_process_metrics()Expand description
Registers the process CLI arguments as a prometheus metric.
This captures the flags passed to the binary via std::env::args and emits them as a
process_cli_args gauge set to 1 with an args label containing flag names only.
Values are stripped to avoid leaking secrets (e.g. --p2p.secret KEY becomes --p2p.secret).