use std::{
sync::atomic::{AtomicU64, Ordering},
time::{SystemTime, UNIX_EPOCH},
};
#[allow(clippy::disallowed_methods)]
pub(crate) fn generate_request_id() -> String {
static COUNTER: AtomicU64 = AtomicU64::new(0);
let count = COUNTER.fetch_add(1, Ordering::Relaxed);
let timestamp = SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis();
format!("{}-{}", timestamp, count)
}