otel: fix CI lint failures

This commit is contained in:
Zanie Blue
2026-06-10 08:54:40 -05:00
parent 058195b9e4
commit e702a53ef4
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ fn process_exit_upload_contains_final_metric() {
STATSIG_OTLP_HTTP_ENDPOINT.to_string(),
HashMap::new(),
OtelHttpProtocol::Json,
None,
/*tls*/ None,
Temporality::Delta,
/*process_exit_upload*/ true,
)
@@ -33,7 +33,7 @@ fn process_exit_upload_contains_final_metric() {
Resource::builder_empty().build(),
exporter,
Some(Duration::from_secs(/*secs*/ 3600)),
None,
/*runtime_reader*/ None,
);
meter
.u64_counter("codex.test.process_exit")
@@ -9,6 +9,7 @@ use std::os::unix::fs::PermissionsExt;
use std::sync::Arc;
#[cfg(unix)]
use std::sync::mpsc;
#[cfg(unix)]
use std::thread;
#[cfg(unix)]
use std::time::Duration;