Repository navigation
fix: add outgoing metrics to proxy flow - #6355
Merged
Merged
Conversation
koladilip
force-pushed
the
fix/add-outgoing-metrics-to-proxy-flow
branch
from
September 17, 2025 04:06
a51f306 to
fae20b1
Compare
vinayteki95
approved these changes
Sep 17, 2025
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/1.59.x #6355 +/- ##
==================================================
- Coverage 77.83% 77.58% -0.25%
==================================================
Files 523 523
Lines 70579 70210 -369
==================================================
- Hits 54933 54473 -460
- Misses 12794 12901 +107
+ Partials 2852 2836 -16 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Add transformer outgoing request metrics for proxy flow - Refactor recordTransformerOutgoingRequestMetrics to accept status code - Ensure consistent metrics collection between proxy and direct flows
koladilip
force-pushed
the
fix/add-outgoing-metrics-to-proxy-flow
branch
from
September 17, 2025 04:47
fae20b1 to
99c692e
Compare
ItsSudip
approved these changes
Sep 17, 2025
koladilip
enabled auto-merge (squash)
September 17, 2025 05:12
Merged
achettyiitr
pushed a commit
that referenced
this pull request
Sep 17, 2025
🤖 I have created a release *beep* *boop* --- ## [1.59.1](v1.59.0...v1.59.1) (2025-09-17) ### Bug Fixes * add outgoing metrics to proxy flow ([#6355](#6355)) ([b2e5c8d](b2e5c8d)) * aws session config region ([#6354](#6354)) ([44110a1](44110a1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
achettyiitr
added a commit
that referenced
this pull request
Sep 17, 2025
# Description Syncing patch release v1.59.1 to main branch **↓↓ Please review and edit commit overrides before merging ↓↓** BEGIN_COMMIT_OVERRIDE fix: add outgoing metrics to proxy flow (#6355) fix: aws session config region (#6354) END_COMMIT_OVERRIDE --------- Co-authored-by: Dilip Kola <[email protected]> Co-authored-by: Akash Chetty <[email protected]>
fracasula
added a commit
that referenced
this pull request
Sep 17, 2025
# Description Syncing patch release v1.59.2 to main branch **↓↓ Please review and edit commit overrides before merging ↓↓** BEGIN_COMMIT_OVERRIDE fix: add outgoing metrics to proxy flow (#6355) fix: aws session config region (#6354) fix: missing keydb client stats (#6360) END_COMMIT_OVERRIDE --------- Co-authored-by: Dilip Kola <[email protected]> Co-authored-by: Akash Chetty <[email protected]> Co-authored-by: Francesco Casula <[email protected]>
This was referenced Sep 19, 2025
This was referenced Sep 29, 2025
Merged
mihir20
pushed a commit
that referenced
this pull request
Sep 29, 2025
🤖 I have created a release *beep* *boop* --- ## [1.60.0-rc.1](v1.59.0...v1.60.0-rc.1) (2025-09-29) ### Features * **router:** jobsdb pickup query batch size adapting to throttling limit ([#6338](#6338)) ([c38b971](c38b971)) ### Bug Fixes * add outgoing metrics to proxy flow ([#6355](#6355)) ([23a5c81](23a5c81)) * aws session config region ([#6354](#6354)) ([23a5c81](23a5c81)) * dedup gauge ([#6359](#6359)) ([a562df4](a562df4)) * keydb grpc config ([#6370](#6370)) ([cf04743](cf04743)) * missing keydb client stats ([#6360](#6360)) ([c42e5c8](c42e5c8)) * naming collision in redis throttling configuration ([#6365](#6365)) ([4f87afb](4f87afb)) * set table type to external for glue ([#6386](#6386)) ([9017582](9017582)) * ut mirroring tests ([#6341](#6341)) ([51dd4f7](51dd4f7)) * **warehouse:** alter namespace col size ([#6379](#6379)) ([fbba498](fbba498)) * **warehouse:** skip extract async job failing test ([#6378](#6378)) ([89a4d1e](89a4d1e)) ### Miscellaneous * add authentication to reporting client ([#6384](#6384)) ([502d2b0](502d2b0)) * add explicit permissions for workflows ([#6381](#6381)) ([1d22623](1d22623)) * add readme for async destinaiton module ([#6356](#6356)) ([cc80333](cc80333)) * remove deprecated throttling configuration keys ([#6377](#6377)) ([8d667b7](8d667b7)) * upgrade build-scan-push-action to v1.8.0 ([#6350](#6350)) ([51dd4f7](51dd4f7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
mihir20
pushed a commit
that referenced
this pull request
Sep 30, 2025
🤖 I have created a release *beep* *boop* --- ## [1.60.0-rc.2](v1.59.0...v1.60.0-rc.2) (2025-09-30) ### Features * **router:** jobsdb pickup query batch size adapting to throttling limit ([#6338](#6338)) ([c38b971](c38b971)) ### Bug Fixes * add outgoing metrics to proxy flow ([#6355](#6355)) ([23a5c81](23a5c81)) * aws session config region ([#6354](#6354)) ([23a5c81](23a5c81)) * dedup gauge ([#6359](#6359)) ([a562df4](a562df4)) * keydb grpc config ([#6370](#6370)) ([cf04743](cf04743)) * missing keydb client stats ([#6360](#6360)) ([c42e5c8](c42e5c8)) * naming collision in redis throttling configuration ([#6365](#6365)) ([4f87afb](4f87afb)) * set table type to external for glue ([#6386](#6386)) ([9017582](9017582)) * ut mirroring tests ([#6341](#6341)) ([51dd4f7](51dd4f7)) * **warehouse:** alter namespace col size ([#6379](#6379)) ([fbba498](fbba498)) * **warehouse:** skip extract async job failing test ([#6378](#6378)) ([89a4d1e](89a4d1e)) ### Miscellaneous * add authentication to reporting client ([#6384](#6384)) ([502d2b0](502d2b0)) * add explicit permissions for workflows ([#6381](#6381)) ([1d22623](1d22623)) * add readme for async destinaiton module ([#6356](#6356)) ([cc80333](cc80333)) * configurable event name trimming for reporting ([#6394](#6394)) ([7628efa](7628efa)) * remove deprecated throttling configuration keys ([#6377](#6377)) ([8d667b7](8d667b7)) * upgrade build-scan-push-action to v1.8.0 ([#6350](#6350)) ([51dd4f7](51dd4f7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This was referenced Sep 30, 2025
mihir20
pushed a commit
that referenced
this pull request
Sep 30, 2025
🤖 I have created a release *beep* *boop* --- ## [1.60.0-rc.3](v1.59.0...v1.60.0-rc.3) (2025-09-30) ### Features * **router:** jobsdb pickup query batch size adapting to throttling limit ([#6338](#6338)) ([c38b971](c38b971)) ### Bug Fixes * add outgoing metrics to proxy flow ([#6355](#6355)) ([23a5c81](23a5c81)) * aws session config region ([#6354](#6354)) ([23a5c81](23a5c81)) * dedup gauge ([#6359](#6359)) ([a562df4](a562df4)) * keydb consistent hashing ([#6403](#6403)) ([3ee79b2](3ee79b2)) * keydb grpc config ([#6370](#6370)) ([cf04743](cf04743)) * missing keydb client stats ([#6360](#6360)) ([c42e5c8](c42e5c8)) * naming collision in redis throttling configuration ([#6365](#6365)) ([4f87afb](4f87afb)) * set table type to external for glue ([#6386](#6386)) ([9017582](9017582)) * ut mirroring tests ([#6341](#6341)) ([51dd4f7](51dd4f7)) * **warehouse:** alter namespace col size ([#6379](#6379)) ([fbba498](fbba498)) * **warehouse:** skip extract async job failing test ([#6378](#6378)) ([89a4d1e](89a4d1e)) ### Miscellaneous * add authentication to reporting client ([#6384](#6384)) ([502d2b0](502d2b0)) * add explicit permissions for workflows ([#6381](#6381)) ([1d22623](1d22623)) * add readme for async destinaiton module ([#6356](#6356)) ([cc80333](cc80333)) * configurable event name trimming for reporting ([#6394](#6394)) ([7628efa](7628efa)) * remove deprecated throttling configuration keys ([#6377](#6377)) ([8d667b7](8d667b7)) * upgrade build-scan-push-action to v1.8.0 ([#6350](#6350)) ([51dd4f7](51dd4f7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
mihir20
pushed a commit
that referenced
this pull request
Oct 1, 2025
🤖 I have created a release *beep* *boop* --- ## [1.60.0](v1.59.0...v1.60.0) (2025-09-30) ### Features * **router:** jobsdb pickup query batch size adapting to throttling limit ([#6338](#6338)) ([c38b971](c38b971)) ### Bug Fixes * add outgoing metrics to proxy flow ([#6355](#6355)) ([23a5c81](23a5c81)) * aws session config region ([#6354](#6354)) ([23a5c81](23a5c81)) * dedup gauge ([#6359](#6359)) ([a562df4](a562df4)) * keydb consistent hashing ([#6403](#6403)) ([3ee79b2](3ee79b2)) * keydb grpc config ([#6370](#6370)) ([cf04743](cf04743)) * missing keydb client stats ([#6360](#6360)) ([c42e5c8](c42e5c8)) * naming collision in redis throttling configuration ([#6365](#6365)) ([4f87afb](4f87afb)) * set table type to external for glue ([#6386](#6386)) ([9017582](9017582)) * ut mirroring tests ([#6341](#6341)) ([51dd4f7](51dd4f7)) * **warehouse:** alter namespace col size ([#6379](#6379)) ([fbba498](fbba498)) * **warehouse:** skip extract async job failing test ([#6378](#6378)) ([89a4d1e](89a4d1e)) ### Miscellaneous * add authentication to reporting client ([#6384](#6384)) ([502d2b0](502d2b0)) * add explicit permissions for workflows ([#6381](#6381)) ([1d22623](1d22623)) * add readme for async destinaiton module ([#6356](#6356)) ([cc80333](cc80333)) * configurable event name trimming for reporting ([#6394](#6394)) ([7628efa](7628efa)) * remove deprecated throttling configuration keys ([#6377](#6377)) ([8d667b7](8d667b7)) * upgrade build-scan-push-action to v1.8.0 ([#6350](#6350)) ([51dd4f7](51dd4f7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
mihir20
pushed a commit
that referenced
this pull request
Oct 1, 2025
🤖 I have created a release *beep* *boop* --- ## [1.60.0](v1.59.0...v1.60.0) (2025-09-30) ### Features * **router:** jobsdb pickup query batch size adapting to throttling limit ([#6338](#6338)) ([c38b971](c38b971)) ### Bug Fixes * add outgoing metrics to proxy flow ([#6355](#6355)) ([23a5c81](23a5c81)) * aws session config region ([#6354](#6354)) ([23a5c81](23a5c81)) * dedup gauge ([#6359](#6359)) ([a562df4](a562df4)) * keydb consistent hashing ([#6403](#6403)) ([3ee79b2](3ee79b2)) * keydb grpc config ([#6370](#6370)) ([cf04743](cf04743)) * missing keydb client stats ([#6360](#6360)) ([c42e5c8](c42e5c8)) * naming collision in redis throttling configuration ([#6365](#6365)) ([4f87afb](4f87afb)) * set table type to external for glue ([#6386](#6386)) ([9017582](9017582)) * ut mirroring tests ([#6341](#6341)) ([51dd4f7](51dd4f7)) * **warehouse:** alter namespace col size ([#6379](#6379)) ([fbba498](fbba498)) * **warehouse:** skip extract async job failing test ([#6378](#6378)) ([89a4d1e](89a4d1e)) ### Miscellaneous * add authentication to reporting client ([#6384](#6384)) ([502d2b0](502d2b0)) * add explicit permissions for workflows ([#6381](#6381)) ([1d22623](1d22623)) * add readme for async destinaiton module ([#6356](#6356)) ([cc80333](cc80333)) * configurable event name trimming for reporting ([#6394](#6394)) ([7628efa](7628efa)) * remove deprecated throttling configuration keys ([#6377](#6377)) ([8d667b7](8d667b7)) * upgrade build-scan-push-action to v1.8.0 ([#6350](#6350)) ([51dd4f7](51dd4f7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This was referenced Oct 13, 2025
Merged
satishrudderstack
pushed a commit
that referenced
this pull request
Oct 14, 2025
🤖 I have created a release *beep* *boop* --- ## [1.61.0-rc.1](v1.59.0...v1.61.0-rc.1) (2025-10-13) ### Features * **processor:** configurable delay option for event processing ([#6376](#6376)) ([8321864](8321864)) * **processor:** configurable delay option for event processing ([#6376](#6376)) ([14a14b5](14a14b5)) * **router:** jobsdb pickup query batch size adapting to throttling limit ([#6338](#6338)) ([c38b971](c38b971)) ### Bug Fixes * add outgoing metrics to proxy flow ([#6355](#6355)) ([23a5c81](23a5c81)) * aws session config region ([#6354](#6354)) ([23a5c81](23a5c81)) * dedup gauge ([#6359](#6359)) ([a562df4](a562df4)) * improve HTML error extractration and truncation limits ([#6421](#6421)) ([9611096](9611096)) * keydb consistent hashing ([#6403](#6403)) ([f4a05ca](f4a05ca)) * keydb consistent hashing ([#6403](#6403)) ([472e529](472e529)) * keydb grpc config ([#6370](#6370)) ([cf04743](cf04743)) * missing keydb client stats ([#6360](#6360)) ([c42e5c8](c42e5c8)) * naming collision in redis throttling configuration ([#6365](#6365)) ([4f87afb](4f87afb)) * reporting event name trimming configuration ([#6417](#6417)) ([f4a05ca](f4a05ca)) * save webhook failures ([#6409](#6409)) ([27d3de3](27d3de3)) * set table type to external for glue ([#6386](#6386)) ([9017582](9017582)) * ut mirroring tests ([#6341](#6341)) ([51dd4f7](51dd4f7)) * **warehouse:** alter namespace col size ([#6379](#6379)) ([fbba498](fbba498)) * **warehouse:** int to float datatype handling ([#6416](#6416)) ([f4a05ca](f4a05ca)) * **warehouse:** skip extract async job failing test ([#6378](#6378)) ([89a4d1e](89a4d1e)) * **warehouse:** skip users table for duplicates check in staging file ([#6422](#6422)) ([8315e4e](8315e4e)) ### Miscellaneous * add authentication to reporting client ([#6384](#6384)) ([502d2b0](502d2b0)) * add explicit permissions for workflows ([#6381](#6381)) ([1d22623](1d22623)) * add readme for async destinaiton module ([#6356](#6356)) ([cc80333](cc80333)) * apply security best practices ([#6428](#6428)) ([49b1288](49b1288)) * change config key for pickupQueryThrottlingEnabled ([#6427](#6427)) ([b82ec25](b82ec25)) * cleanup enableOptimizedConnectionDetailsKey flag from processor ([#6383](#6383)) ([770c3fe](770c3fe)) * cleanup unused reporting client code after migrating to commonclient ([#6385](#6385)) ([2dd4c49](2dd4c49)) * configurable event name trimming for reporting ([#6394](#6394)) ([e757fa8](e757fa8)) * oauth service ([#6387](#6387)) ([caba16d](caba16d)) * release 1.60.0 ([#6390](#6390)) ([c461070](c461070)) * remove deprecated throttling configuration keys ([#6377](#6377)) ([8d667b7](8d667b7)) * skip building images for debendabot ([#6425](#6425)) ([3cbc422](3cbc422)) * upgrade build-scan-push-action to v1.8.0 ([#6350](#6350)) ([51dd4f7](51dd4f7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Merged
satishrudderstack
pushed a commit
that referenced
this pull request
Oct 15, 2025
🤖 I have created a release *beep* *boop* --- ## [1.61.0](v1.59.0...v1.61.0) (2025-10-15) ### Features * **processor:** configurable delay option for event processing ([#6376](#6376)) ([14a14b5](14a14b5)) * **router:** jobsdb pickup query batch size adapting to throttling limit ([#6338](#6338)) ([c38b971](c38b971)) ### Bug Fixes * add outgoing metrics to proxy flow ([#6355](#6355)) ([23a5c81](23a5c81)) * aws session config region ([#6354](#6354)) ([23a5c81](23a5c81)) * dedup gauge ([#6359](#6359)) ([a562df4](a562df4)) * improve HTML error extractration and truncation limits ([#6421](#6421)) ([9611096](9611096)) * keydb consistent hashing ([#6403](#6403)) ([f4a05ca](f4a05ca)) * keydb consistent hashing ([#6403](#6403)) ([8321864](8321864)) * keydb consistent hashing ([#6403](#6403)) ([472e529](472e529)) * keydb grpc config ([#6370](#6370)) ([cf04743](cf04743)) * missing keydb client stats ([#6360](#6360)) ([c42e5c8](c42e5c8)) * naming collision in redis throttling configuration ([#6365](#6365)) ([4f87afb](4f87afb)) * reporting event name trimming configuration ([#6417](#6417)) ([f4a05ca](f4a05ca)) * save webhook failures ([#6409](#6409)) ([27d3de3](27d3de3)) * set table type to external for glue ([#6386](#6386)) ([9017582](9017582)) * ut mirroring tests ([#6341](#6341)) ([51dd4f7](51dd4f7)) * **warehouse:** alter namespace col size ([#6379](#6379)) ([fbba498](fbba498)) * **warehouse:** int to float datatype handling ([#6416](#6416)) ([f4a05ca](f4a05ca)) * **warehouse:** skip extract async job failing test ([#6378](#6378)) ([89a4d1e](89a4d1e)) * **warehouse:** skip users table for duplicates check in staging file ([#6422](#6422)) ([8315e4e](8315e4e)) ### Miscellaneous * add authentication to reporting client ([#6384](#6384)) ([502d2b0](502d2b0)) * add explicit permissions for workflows ([#6381](#6381)) ([1d22623](1d22623)) * add readme for async destinaiton module ([#6356](#6356)) ([cc80333](cc80333)) * apply security best practices ([#6428](#6428)) ([49b1288](49b1288)) * change config key for pickupQueryThrottlingEnabled ([#6427](#6427)) ([b82ec25](b82ec25)) * change release to 1.61.0 ([#6437](#6437)) ([b89d17a](b89d17a)) * cleanup enableOptimizedConnectionDetailsKey flag from processor ([#6383](#6383)) ([770c3fe](770c3fe)) * cleanup unused reporting client code after migrating to commonclient ([#6385](#6385)) ([2dd4c49](2dd4c49)) * configurable event name trimming for reporting ([#6394](#6394)) ([e757fa8](e757fa8)) * oauth service ([#6387](#6387)) ([caba16d](caba16d)) * release 1.60.0 ([#6390](#6390)) ([c461070](c461070)) * remove deprecated throttling configuration keys ([#6377](#6377)) ([8d667b7](8d667b7)) * skip building images for debendabot ([#6425](#6425)) ([3cbc422](3cbc422)) * upgrade build-scan-push-action to v1.8.0 ([#6350](#6350)) ([51dd4f7](51dd4f7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.
Description
This PR adds outgoing metrics to the proxy flow in the router worker to ensure consistent metrics collection for both direct and proxy transformer requests.
Changes
w.recordTransformerOutgoingRequestMetrics()recordTransformerOutgoingRequestMetricsto accept status code directly instead of full response objectSecurity