mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
build(deps): bump opentelemetry crates to 0.27 (#6774)
This commit is contained in:
@ -16,7 +16,7 @@ use common_utils::{
|
||||
};
|
||||
use error_stack::{report, ResultExt};
|
||||
use masking::{ExposeInterface, Secret};
|
||||
use router_env::{instrument, metrics::add_attributes, tracing};
|
||||
use router_env::{instrument, tracing};
|
||||
|
||||
use super::helpers;
|
||||
use crate::{
|
||||
@ -1090,12 +1090,11 @@ pub async fn add_payment_method_token<F: Clone, T: types::Tokenizable + Clone>(
|
||||
.to_payment_failed_response()?;
|
||||
|
||||
metrics::CONNECTOR_PAYMENT_METHOD_TOKENIZATION.add(
|
||||
&metrics::CONTEXT,
|
||||
1,
|
||||
&add_attributes([
|
||||
router_env::metric_attributes!(
|
||||
("connector", connector.connector_name.to_string()),
|
||||
("payment_method", router_data.payment_method.to_string()),
|
||||
]),
|
||||
),
|
||||
);
|
||||
|
||||
let payment_token_resp = resp.response.map(|res| {
|
||||
|
||||
Reference in New Issue
Block a user