fix(router_env): fix opentelemetry traces for router_env (#201)

Co-authored-by: Nishant Joshi <nishant.joshi@juspay.in>
This commit is contained in:
Sampras Lopes
2023-01-07 17:43:19 +05:30
committed by GitHub
parent c3368d9f8b
commit 6a0d183e7b
53 changed files with 100 additions and 87 deletions

View File

@ -2,7 +2,7 @@ pub mod types;
use actix_web::{delete, get, post, web, HttpRequest, HttpResponse};
use error_stack::report;
use router_env::{tracing, tracing::instrument};
use router_env::{instrument, tracing};
use crate::{
compatibility::{stripe::errors, wrap},

View File

@ -3,7 +3,7 @@ pub mod types;
use actix_web::{get, post, web, HttpRequest, HttpResponse};
use api_models::payments as payment_types;
use error_stack::report;
use router_env::{tracing, tracing::instrument};
use router_env::{instrument, tracing};
use crate::{
compatibility::{stripe::errors, wrap},

View File

@ -1,7 +1,7 @@
pub mod types;
use actix_web::{get, post, web, HttpRequest, HttpResponse};
use router_env::{tracing, tracing::instrument};
use router_env::{instrument, tracing};
use crate::{
compatibility::{stripe::errors, wrap},

View File

@ -3,7 +3,7 @@ pub mod types;
use actix_web::{get, post, web, HttpRequest, HttpResponse};
use api_models::payments as payment_types;
use error_stack::report;
use router_env::{tracing, tracing::instrument};
use router_env::{instrument, tracing};
use crate::{
compatibility::{stripe::errors, wrap},

View File

@ -2,7 +2,7 @@ use std::future::Future;
use actix_web::{HttpRequest, HttpResponse, Responder};
use error_stack::report;
use router_env::{tracing, tracing::instrument};
use router_env::{instrument, tracing};
use serde::Serialize;
use crate::{