Something like https://github.com/async-profiler/rust-agent/blob/main/src/metadata/aws.rs for uploading to AWS CodeGuru Profiler