Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

feat(authentication): add pending authentication status to authentication attempt count (#10833)

Sahkal Poddar8df6cfbb71cd
diff --git a/crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs b/crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs
index ce7d11e22a..2f9f7ecd3e 100644
--- a/crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs
+++ b/crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs
@@ -69,7 +69,11 @@ where
query_builder
.add_filter_in_range_clause(
"authentication_status",
- &[AuthenticationStatus::Success, AuthenticationStatus::Failed],
+ &[
+ AuthenticationStatus::Success,
+ AuthenticationStatus::Failed,
+ AuthenticationStatus::Pending,
+ ],
)
.switch()?;
filters.set_filter_clause(&mut query_builder).switch()?;