124 Commits

Author SHA1 Message Date
54a1719fe6 refactor(middleware): add middleware to record metrics for request count and duration (#7803) 2025-04-21 07:48:33 +00:00
2067bc3520 chore(analytics): opensearch client creation based on config (#7810)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2025-04-17 08:02:22 +00:00
11f7804ba9 refactor(analytics): default config for forex_enabled (#7695) 2025-04-03 10:07:28 +00:00
80218d0f27 refactor(router): make error_type generic in domain_models inorder to avoid conversion of errors in storage_impl (#7537)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2025-03-21 11:43:19 +00:00
afca506369 build(deps): update aws dependencies (#4194)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
2025-03-19 11:18:46 +00:00
a87471c45d feat(analytics): add issuer as filter for authentication analytics (#7535) 2025-03-18 09:46:09 +00:00
9683b2a895 feat(analytics): modified authentication queries and added generate report for authentications (#7483)
Co-authored-by: Sandeep Kumar <sandeep.kumar@Sandeep-Kumar-LVF93XQXPC.local>
2025-03-12 10:44:09 +00:00
7473182b30 feat(analytics): add new filters, dimensions and metrics for authentication analytics (#7451)
Co-authored-by: Sandeep Kumar <sandeep.kumar@Sandeep-Kumar-LVF93XQXPC.local>
2025-03-06 16:19:44 +00:00
1ff273e137 feat(analytics): refactor and rewrite authentication related analytics (#7433)
Co-authored-by: Sandeep Kumar <sandeep.kumar@Sandeep-Kumar-LVF93XQXPC.local>
2025-03-06 11:01:31 +00:00
df328c5e52 feat(opensearch): add amount and customer_id as filters and handle name for different indexes (#7073) 2025-02-07 11:40:12 +00:00
f2117542a7 feat(router): add organization_id in authentication table and add it in authentication events (#7168) 2025-02-06 13:47:11 +00:00
12a2f2ad14 feat(analytics): Add currency as dimension and filter for disputes (#7006) 2025-02-05 13:34:00 +00:00
858866f9f3 refactor(currency_conversion): re frame the currency_conversion crate to make api calls on background thread (#6906)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2025-01-28 17:57:23 +00:00
a056dc72db chore(analytics): SDK table schema changes (#6579)
Co-authored-by: Sandeep Kumar <83278309+tsdk02@users.noreply.github.com>
2024-12-17 10:23:30 +00:00
c883aa59aa feat(analytics): Analytics Request Validator and config driven forex feature (#6733)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Sandeep Kumar <83278309+tsdk02@users.noreply.github.com>
2024-12-17 10:23:00 +00:00
47a3d2b2ab build(deps): bump opentelemetry crates to 0.27 (#6774) 2024-12-10 11:05:34 +00:00
d17d2fe075 chore: enable clippy::trivially_copy_pass_by_ref lint and address it (#6724) 2024-12-05 14:41:40 +00:00
774a53ee89 feat(analytics): Add refund sessionized metrics for Analytics V2 dashboard (#6616)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-12-05 10:09:40 +00:00
063a1c636c fix(opensearch): fix empty filter array query addition in globalsearch query (#6716) 2024-12-02 14:33:43 +00:00
9a59d0a5ff chore: address Rust 1.83.0 clippy lints and enable more clippy lints (#6705) 2024-12-02 14:30:44 +00:00
b1cdff0950 fix(opensearch): handle empty free-text query search in global search (#6685) 2024-11-29 09:46:31 +00:00
abcaa539ec fix(analytics): fix first_attempt filter value parsing for Payments (#6667) 2024-11-29 09:46:16 +00:00
93459fde5f fix(analytics): fix bugs in payments page metrics in Analytics V2 dashboard (#6654) 2024-11-28 09:59:55 +00:00
8fbb766308 feat(analytics): add sessionized_metrics for disputes analytics (#6573)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-11-26 13:24:42 +00:00
9460041b2a feat(analytics): add first_attempt as a filter for PaymentFilters (#6604) 2024-11-24 13:02:46 +00:00
54e393bf9a fix(analytics): remove first_attempt group by in Payment Intent old metrics (#6627) 2024-11-22 08:19:32 +00:00
f3897dd6b5 feat(analytics): add smart_retries only metrics for analytics v2 dashboard (#6575) 2024-11-19 16:24:12 +00:00
afd7f7d209 feat(analytics): add sessionized_metrics and currency_conversion for refunds analytics (#6419)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-11-14 08:39:30 +00:00
31a38db800 docs(analytics): add setup instructions for currency_conversion service (#6516) 2024-11-13 09:23:14 +00:00
ce95b6538d feat(analytics): revert remove additional filters from PaymentIntentFilters (#6492) 2024-11-08 15:33:57 +00:00
529f1a76be feat(opensearch): refactor global search querybuilder and add case insensitivity opensearch filters (#6476) 2024-11-08 10:05:24 +00:00
01c5216fdd 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>
2024-11-06 09:16:16 +00:00
88253780d7 fix(analytics): add dynamic limit by clause in failure reasons metric query (#6462) 2024-11-04 14:19:23 +00:00
d697def0b7 feat(analytics): add customer_id as filter for payment intents (#6344) 2024-10-30 07:26:26 +00:00
c7c1e1adab feat(payments_v2): add payment_confirm_intent api endpoint (#6263)
Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: sai-harsha-vardhan <harsha111hero@gmail.com>
Co-authored-by: Shankar Singh C <83439957+ShankarSinghC@users.noreply.github.com>
Co-authored-by: spritianeja03 <146620839+spritianeja03@users.noreply.github.com>
Co-authored-by: Spriti Aneja <spriti.aneja@juspay.in>
2024-10-24 10:40:01 +00:00
4ef48c39b3 feat(analytics): remove additional filters from PaymentIntentFilters (#6403) 2024-10-23 06:24:48 +00:00
2e6cd6d31e feat(opensearch): add additional global search filters and create sessionizer indexes for local (#6352) 2024-10-19 13:57:53 +00:00
f123df9aa3 feat(analytics): Add metrics, filters and APIs for Analytics v2 Dashboard - Payments Page (#5870)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Sampras Lopes <Sampras.lopes@juspay.in>
Co-authored-by: Sampras Lopes <lsampras@pm.me>
2024-10-14 13:13:34 +00:00
caa0693148 feat(opensearch): restrict search view access based on user roles and permissions (#5932)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-10-04 13:21:30 +00:00
8049993320 feat(analytics): Add card network filter (#6087)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-09-26 07:43:14 +00:00
156a161f3e fix(payments): add time range in list payment attempts query (#5959)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-09-19 17:49:47 +00:00
7eb5354efe feat(opensearch): add profile_id and organization_id to /search APIs (#5705)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-09-11 15:37:44 +00:00
b72c77075e build(deps): bump sqlx to 0.8.2 (#5859) 2024-09-11 15:36:36 +00:00
bf1797fe7c feat(analytics): add card_network as a field in payment_attempts clickhouse table (#5807)
Co-authored-by: Sampras Lopes <Sampras.lopes@juspay.in>
2024-09-10 08:27:17 +00:00
283154d3f6 feat(analytics): Revert api_event metrics and filters back to merchant_id authentication (#5821) 2024-09-10 08:00:26 +00:00
b853226120 refactor(router): remove admin v2 intermediate features (#5780)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
Co-authored-by: Aprabhat19 <amishaprabhat@gmail.com>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-09-04 08:28:05 +00:00
8ed942c6cd feat(analytics): refactor and introduce analytics APIs to accommodate OrgLevel, MerchantLevel and ProfileLevel authentication (#5729)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Sampras Lopes <sampras.lopes@juspay.in>
2024-09-03 10:23:04 +00:00
7296cceba3 refactor(payment_id): add payment id domain type (#5738)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-09-02 03:51:33 +00:00
2049ab0554 feat(database): add profile & organisation id to transaction tables (#5696)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-08-29 09:36:44 +00:00
138134dfb6 build(deps): bump diesel to 2.2.3 and sqlx to 0.8.1 (#5688) 2024-08-26 13:29:09 +00:00