mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	feat(analytics): authentication analytics (#4429)
Co-authored-by: Sampras Lopes <lsampras@pm.me> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -1,5 +1,6 @@ | ||||
| use api_models::analytics::{ | ||||
|     api_event::{ApiEventDimensions, ApiEventMetrics}, | ||||
|     auth_events::AuthEventMetrics, | ||||
|     disputes::{DisputeDimensions, DisputeMetrics}, | ||||
|     payments::{PaymentDimensions, PaymentMetrics}, | ||||
|     refunds::{RefundDimensions, RefundMetrics}, | ||||
| @ -36,6 +37,10 @@ pub fn get_sdk_event_metrics_info() -> Vec<NameDescription> { | ||||
|     SdkEventMetrics::iter().map(Into::into).collect() | ||||
| } | ||||
|  | ||||
| pub fn get_auth_event_metrics_info() -> Vec<NameDescription> { | ||||
|     AuthEventMetrics::iter().map(Into::into).collect() | ||||
| } | ||||
|  | ||||
| pub fn get_api_event_metrics_info() -> Vec<NameDescription> { | ||||
|     ApiEventMetrics::iter().map(Into::into).collect() | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Vrishab Srivatsa
					Vrishab Srivatsa