21 Commits

Author SHA1 Message Date
20b52f11c3 chore: address Rust 1.88.0 clippy lints (#8498)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2025-07-02 06:43:07 +00:00
54a1719fe6 refactor(middleware): add middleware to record metrics for request count and duration (#7803) 2025-04-21 07:48:33 +00:00
aecd5eea3d fix(multitenancy): consistently use tenant nomenclature everywhere (#6389) 2024-10-28 15:07:59 +00:00
59b36a054c build: bump MSRV to 1.76.0 (#5586) 2024-08-12 10:00:05 +00:00
ec5f9de0cb feat(router): add accept language header middleware (#5500)
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-N7WRTY72X7.local>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-08-05 07:22:29 +00:00
776ddb8c1a feat(multitenancy): add tenant_id as a field for data pipeline and support individual database for clickhouse (#4867)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
Co-authored-by: Sampras Lopes <sampras.lopes@juspay.in>
2024-06-18 13:28:46 +00:00
c9dbb567ab feat(events): add metadata info to events (#4875) 2024-06-06 12:03:28 +00:00
4b5b558dae feat(middleware): log content_length for 4xx (#4655)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-05-16 10:30:50 +00:00
8038b48a54 refactor(router): added status_code to golden_log_line (#3681) 2024-02-19 08:04:47 +00:00
783fa0b0df fix(logging): fix missing fields in consolidated log line (#3684) 2024-02-16 12:42:25 +00:00
c5343dfcc2 refactor(router): added payment_method to golden log line (#3620) 2024-02-14 10:00:02 +00:00
be22d60dda fix(router): handle empty body parse failures in bad request logger middleware (#3541) 2024-02-05 10:07:07 +00:00
13be7e6f87 fix(logging): add an end log line for LogSpanInitializer (#3528) 2024-02-01 14:08:38 +00:00
ac491038b1 fix(logging): add flow to persistent logs fields (#3472) 2024-01-30 10:55:11 +00:00
dd0d2dc2dd feat(router): add request_details logger middleware for 400 bad requests (#3414)
Co-authored-by: Sampras lopes <lsampras@pm.me>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
2024-01-29 10:00:35 +00:00
c2946cfe05 feat(logging): add a logging middleware to log all api requests (#3437) 2024-01-25 07:26:20 +00:00
252443a50d feat: include version number in response headers and on application startup (#3045) 2024-01-05 12:02:36 +00:00
0f72b5527a fix(middleware): add support for logging request-id sent in request (#3225) 2024-01-03 09:23:10 +00:00
6d7b11a0f0 feat(middleware): add middleware to attach default response headers (#824) 2023-04-04 05:56:05 +00:00
4884a24daf refactor(middleware): change visibility to pub (#587) 2023-02-13 12:13:59 +00:00
349036bff3 feat(middleware): return request ID in response header (#214) 2022-12-22 12:19:26 +05:30