emit a separate metric when the user cancels UAT during elevated setup (#10399)

Currently this shows up as elevated setup failure, which isn't quite
accurate.
This commit is contained in:
iceweasel-oai
2026-02-02 15:31:08 -08:00
committed by GitHub
parent 0f15ed4325
commit a5066bef78
4 changed files with 32 additions and 2 deletions

View File

@@ -1700,7 +1700,9 @@ impl App {
tags.push(("message", message));
}
otel_manager.counter(
"codex.windows_sandbox.elevated_setup_failure",
codex_core::windows_sandbox::elevated_setup_failure_metric_name(
&err,
),
1,
&tags,
);