From e6c6745053ed02154ae45e974fa817d000c56f20 Mon Sep 17 00:00:00 2001 From: Dzejkop Date: Fri, 1 Mar 2024 15:04:04 +0100 Subject: [PATCH] Fix telemetry connection issues --- src/participant.rs | 4 ++-- src/utils/aws.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;