diff --git a/src/participant.rs b/src/participant.rs index ad36fa6..da104d3 100644 --- a/src/participant.rs +++ b/src/participant.rs @@ -6,10 +6,10 @@ use distance::Template; use eyre::ContextCompat; use futures::stream::FuturesUnordered; use futures::StreamExt; -use serde::{Deserialize, Serialize}; -use telemetry_batteries::opentelemetry::trace::{ +use opentelemetry::trace::{ SpanContext, SpanId, TraceFlags, TraceId, TraceState, }; +use serde::{Deserialize, Serialize}; use tokio::io::{AsyncReadExt, AsyncWriteExt, BufWriter}; use tokio::net::TcpStream; use tokio::sync::{mpsc, Mutex}; diff --git a/src/utils/aws.rs b/src/utils/aws.rs index 75d9870..ca54070 100644 --- a/src/utils/aws.rs +++ b/src/utils/aws.rs @@ -4,10 +4,10 @@ use std::fmt::Debug; use aws_config::Region; use aws_sdk_sqs::types::{Message, MessageAttributeValue}; use eyre::Context; -use serde::Serialize; -use telemetry_batteries::opentelemetry::trace::{ +use opentelemetry::trace::{ SpanContext, SpanId, TraceFlags, TraceId, TraceState, }; +use serde::Serialize; use crate::config::AwsConfig;