mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(analytics): implement currency conversion to power multi-currency aggregation (#6418)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -161,7 +161,9 @@ pub struct PaymentIntentMetricsBucketValue {
|
||||
pub successful_smart_retries: Option<u64>,
|
||||
pub total_smart_retries: Option<u64>,
|
||||
pub smart_retried_amount: Option<u64>,
|
||||
pub smart_retried_amount_in_usd: Option<u64>,
|
||||
pub smart_retried_amount_without_smart_retries: Option<u64>,
|
||||
pub smart_retried_amount_without_smart_retries_in_usd: Option<u64>,
|
||||
pub payment_intent_count: Option<u64>,
|
||||
pub successful_payments: Option<u32>,
|
||||
pub successful_payments_without_smart_retries: Option<u32>,
|
||||
@ -169,8 +171,10 @@ pub struct PaymentIntentMetricsBucketValue {
|
||||
pub payments_success_rate: Option<f64>,
|
||||
pub payments_success_rate_without_smart_retries: Option<f64>,
|
||||
pub payment_processed_amount: Option<u64>,
|
||||
pub payment_processed_amount_in_usd: Option<u64>,
|
||||
pub payment_processed_count: Option<u64>,
|
||||
pub payment_processed_amount_without_smart_retries: Option<u64>,
|
||||
pub payment_processed_amount_without_smart_retries_in_usd: Option<u64>,
|
||||
pub payment_processed_count_without_smart_retries: Option<u64>,
|
||||
pub payments_success_rate_distribution_without_smart_retries: Option<f64>,
|
||||
pub payments_failure_rate_distribution_without_smart_retries: Option<f64>,
|
||||
|
||||
@ -271,8 +271,10 @@ pub struct PaymentMetricsBucketValue {
|
||||
pub payment_count: Option<u64>,
|
||||
pub payment_success_count: Option<u64>,
|
||||
pub payment_processed_amount: Option<u64>,
|
||||
pub payment_processed_amount_usd: Option<u64>,
|
||||
pub payment_processed_count: Option<u64>,
|
||||
pub payment_processed_amount_without_smart_retries: Option<u64>,
|
||||
pub payment_processed_amount_without_smart_retries_usd: Option<u64>,
|
||||
pub payment_processed_count_without_smart_retries: Option<u64>,
|
||||
pub avg_ticket_size: Option<f64>,
|
||||
pub payment_error_message: Option<Vec<ErrorResult>>,
|
||||
|
||||
Reference in New Issue
Block a user