[Bugfix][Rust Frontend] Skip engine-derived metrics under --disable-log-stats (#59205)

Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Bugen Zhao
2026-09-29 11:01:54 -07:00
committed by GitHub
co-authored by Claude Opus 5.5
parent f5ed3d9c03
commit afac509a33
16 changed files with 248 additions and 34 deletions
+3 -1
View File
@@ -380,7 +380,9 @@ pub struct SharedRuntimeArgs {
pub api_key: Vec<String>,
/// Disable periodic logging of engine statistics (throughput, queue depth,
/// cache usage).
/// cache usage). Engines also stop recording stats, so metrics derived from
/// engine-reported scheduler stats and request lifecycle events are not
/// exported.
#[arg(long)]
#[serde(default)]
pub disable_log_stats: bool,