mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
otel: fix CI lint failures
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user