hyperswitch
hyperswitch copied to clipboard
feat(analytics): Add metrics, filters and APIs for Analytics v2 Dashboard
Type of Change
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
Adding metrics, filters and APIs for Analytics v2 Dashboard. Metrics Added:
- Authorization Success Rate - defined as the number of payment intents which were succeeded on the first attempt
Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
Motivation and Context
Enhancing dashboard experience and providing meaningful and important data analytics for the merchants to make informed decisions
How did you test it?
Checklist
- [x] I formatted the code
cargo +nightly fmt --all - [x] I addressed lints thrown by
cargo clippy - [ ] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
Review changes with SemanticDiff.
Analyzed 55 of 55 files.
Overall, the semantic diff is 2% smaller than the GitHub diff.