feat(analytics): refactor and rewrite authentication related analytics#7433
Merged
likhinbopanna merged 2 commits intomainfrom Mar 6, 2025
Merged
feat(analytics): refactor and rewrite authentication related analytics#7433likhinbopanna merged 2 commits intomainfrom
likhinbopanna merged 2 commits intomainfrom
Conversation
13 tasks
sai-harsha-vardhan
approved these changes
Mar 6, 2025
maverox
approved these changes
Mar 6, 2025
tsdk02
added a commit
that referenced
this pull request
Mar 6, 2025
#7433) Co-authored-by: Sandeep Kumar <sandeep.kumar@Sandeep-Kumar-LVF93XQXPC.local>
tsdk02
added a commit
that referenced
this pull request
Mar 6, 2025
#7433) Co-authored-by: Sandeep Kumar <sandeep.kumar@Sandeep-Kumar-LVF93XQXPC.local>
14 tasks
pixincreate
added a commit
that referenced
this pull request
Mar 7, 2025
* 'main' of github.com:juspay/hyperswitch: feat(hipay): Add Template PR (#7360) chore(version): 2025.03.07.0 chore(postman): update Postman collection files feat(analytics): add new filters, dimensions and metrics for authentication analytics (#7451) feat(router): add capability to force challenge for 3DS Payments through Netcetera and send few optional fields (#7429) feat(analytics): refactor and rewrite authentication related analytics (#7433) refactor(core): Added payment id in authentication router data (#7441) feat(connector): Added ThreeDs server integration template pr (#7424) fix(xendit): Fix wasm changes (#7419) chore(postman): postman tests fixes (#7159) ci(cypress): move customer acceptance in configs to a const within commons (#7435) feat(core): add additional revenue recovery call flow (#7402) chore(version): 2025.03.06.0 feat(payment_link): expose payment link configs for SDK UI rules and payment button (#7427)
pixincreate
added a commit
that referenced
this pull request
Mar 7, 2025
…juspay/hyperswitch into connector/gpay-mandates-authorizedotnet * 'connector/gpay-mandates-authorizedotnet' of github.com:juspay/hyperswitch: (25 commits) ci(cypress): address lints and refactor redirection handler (#7437) chore: make v1 merchant account forward compatible (#7426) fix(dashboard): Added auth key to juspay threeds server (#7457) feat(hipay): Add Template PR (#7360) chore(version): 2025.03.07.0 chore(postman): update Postman collection files feat(analytics): add new filters, dimensions and metrics for authentication analytics (#7451) feat(router): add capability to force challenge for 3DS Payments through Netcetera and send few optional fields (#7429) feat(analytics): refactor and rewrite authentication related analytics (#7433) refactor(core): Added payment id in authentication router data (#7441) feat(connector): Added ThreeDs server integration template pr (#7424) fix(xendit): Fix wasm changes (#7419) chore(postman): postman tests fixes (#7159) ci(cypress): move customer acceptance in configs to a const within commons (#7435) feat(core): add additional revenue recovery call flow (#7402) chore(version): 2025.03.06.0 feat(payment_link): expose payment link configs for SDK UI rules and payment button (#7427) feat(connector): [EFT] Add EFT as a payment method (#7304) chore(version): 2025.03.05.1 feat(connector): [Moneris] Implement mandate for Moneris (#7322) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
Refactored and re-wrote the authentication related analytics.
The table being queried is now
authentications.The following metrics were modified:
Additional Changes
Motivation and Context
Get better insights into authentications related data through analytics
How did you test it?
Hit the following curls:
Authentication Attempt Count:
Sample Output:
{ "queryData": [ { "authentication_count": null, "authentication_attempt_count": 80, "authentication_success_count": null, "challenge_flow_count": null, "challenge_attempt_count": null, "challenge_success_count": null, "frictionless_flow_count": null, "frictionless_success_count": null, "time_bucket": null } ], "metaData": [ { "current_time_range": { "start_time": "2025-02-01T18:30:00.000Z", "end_time": "2025-02-28T09:22:00.000Z" } } ] }Authentication Count:
Sample Output:
{ "queryData": [ { "authentication_count": 95, "authentication_attempt_count": null, "authentication_success_count": null, "challenge_flow_count": null, "challenge_attempt_count": null, "challenge_success_count": null, "frictionless_flow_count": null, "frictionless_success_count": null, "time_bucket": null } ], "metaData": [ { "current_time_range": { "start_time": "2025-02-01T18:30:00.000Z", "end_time": "2025-02-28T09:22:00.000Z" } } ] }Authentication Success Count:
Sample Output:
{ "queryData": [ { "authentication_count": null, "authentication_attempt_count": null, "authentication_success_count": 75, "challenge_flow_count": null, "challenge_attempt_count": null, "challenge_success_count": null, "frictionless_flow_count": null, "frictionless_success_count": null, "time_bucket": null } ], "metaData": [ { "current_time_range": { "start_time": "2025-02-01T18:30:00.000Z", "end_time": "2025-02-28T09:22:00.000Z" } } ] }Challenge Flow Count:
Sample Output:
{ "queryData": [ { "authentication_count": null, "authentication_attempt_count": null, "authentication_success_count": null, "challenge_flow_count": 1, "challenge_attempt_count": null, "challenge_success_count": null, "frictionless_flow_count": null, "frictionless_success_count": null, "time_bucket": null } ], "metaData": [ { "current_time_range": { "start_time": "2025-02-01T18:30:00.000Z", "end_time": "2025-02-28T09:22:00.000Z" } } ] }Challenge Attempt Count:
Sample Output:
{ "queryData": [ { "authentication_count": null, "authentication_attempt_count": null, "authentication_success_count": null, "challenge_flow_count": null, "challenge_attempt_count": 1, "challenge_success_count": null, "frictionless_flow_count": null, "frictionless_success_count": null, "time_bucket": null } ], "metaData": [ { "current_time_range": { "start_time": "2025-02-01T18:30:00.000Z", "end_time": "2025-02-28T09:22:00.000Z" } } ] }Challenge Sccess Count:
Sample Output:
{ "queryData": [ { "authentication_count": null, "authentication_attempt_count": null, "authentication_success_count": null, "challenge_flow_count": null, "challenge_attempt_count": null, "challenge_success_count": 1, "frictionless_flow_count": null, "frictionless_success_count": null, "time_bucket": null } ], "metaData": [ { "current_time_range": { "start_time": "2025-02-01T18:30:00.000Z", "end_time": "2025-02-28T09:22:00.000Z" } } ] }Frictionless Flow Count:
Sample Output:
{ "queryData": [ { "authentication_count": null, "authentication_attempt_count": null, "authentication_success_count": null, "challenge_flow_count": null, "challenge_attempt_count": null, "challenge_success_count": null, "frictionless_flow_count": 74, "frictionless_success_count": null, "time_bucket": null } ], "metaData": [ { "current_time_range": { "start_time": "2025-02-01T18:30:00.000Z", "end_time": "2025-02-28T09:22:00.000Z" } } ] }Frictionless Success Count:
Sample Output:
{ "queryData": [ { "authentication_count": null, "authentication_attempt_count": null, "authentication_success_count": null, "challenge_flow_count": null, "challenge_attempt_count": null, "challenge_success_count": null, "frictionless_flow_count": null, "frictionless_success_count": 74, "time_bucket": null } ], "metaData": [ { "current_time_range": { "start_time": "2025-02-01T18:30:00.000Z", "end_time": "2025-02-28T09:22:00.000Z" } } ] }Queries:
Authentication Attempt Count:
Authentication Count:
Authentication Success Count:
Challenge Attempt Count:
Challenge Flow Count:
Challenge Success Count:
Frictionless Flow Count:
Frictionless Success Count:
Checklist
cargo +nightly fmt --allcargo clippy