Repository navigation
fix(router): report destination status for v1 proxy deliveries in transformer_outgoing_request_count - #7482
Merged
maheshkutty merged 1 commit intoOct 15, 2026
Conversation
…nsformer_outgoing_request_count For transformer-proxied deliveries the metric recorded the router -> transformer HTTP status, which is always 200 for v1 proxy, hiding destination 429s/5xx per endpointPath. Parse output.status from the v1 proxy response and record it, falling back to the proxy status when absent (v0, early proxy errors). Resolves INT-7375 Co-Authored-By: Claude Opus 5.5 <[email protected]> 🔒 Scanned for secrets using gitleaks 8.30.1
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7482 +/- ##
==========================================
- Coverage 85.05% 85.04% -0.02%
==========================================
Files 632 632
Lines 62871 62876 +5
==========================================
- Hits 53473 53470 -3
- Misses 9395 9403 +8
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
achettyiitr
approved these changes
Oct 15, 2026
atzoum
approved these changes
Oct 15, 2026
maheshkutty
deleted the
fix/int-7375-proxy-outgoing-request-dest-status
branch
October 15, 2026 09:05
This was referenced Oct 19, 2026
Closed
mihir20
pushed a commit
that referenced
this pull request
Oct 19, 2026
🤖 I have created a release *beep* *boop* --- ## [1.91.0-rc.1](v1.90.0...v1.91.0-rc.1) (2026-10-19) ### Features * **jobsdb:** pending events gauge for the gw jobsdb ([#7447](#7447)) ([fc539c4](fc539c4)) * **processor:** report event_filter drops per reason and stop its succeeded rows ([#7454](#7454)) ([5caff53](5caff53)) ### Bug Fixes * **processor:** exclude dropped jobs from tracked users and activation records ([#7485](#7485)) ([526602c](526602c)) * **router:** report destination status for v1 proxy deliveries in transformer_outgoing_request_count ([#7482](#7482)) ([bba1c21](bba1c21)) ### Miscellaneous * bump sqlconnect-go to v1.34.0 ([#7479](#7479)) ([71e8cfa](71e8cfa)) * stop setting in_reported_by on report rows ([#7458](#7458)) ([814d149](814d149)) * sync release v1.90.0 to main branch ([#7475](#7475)) ([d05fcbb](d05fcbb)) * **tooling:** move rudder-server test MinIO to Silo ([#7469](#7469)) ([935bf59](935bf59)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
This was referenced Oct 20, 2026
Merged
itsmihir
pushed a commit
that referenced
this pull request
Oct 20, 2026
🤖 I have created a release *beep* *boop* --- ## [1.91.0-rc.2](v1.90.0...v1.91.0-rc.2) (2026-10-20) ### Features * **jobsdb:** pending events gauge for the gw jobsdb ([#7447](#7447)) ([fc539c4](fc539c4)) * **processor:** report event_filter drops per reason and stop its succeeded rows ([#7454](#7454)) ([5caff53](5caff53)) ### Bug Fixes * **destination:** authenticate marketo bulk uploads with bearer token ([#7510](#7510)) ([3eaffad](3eaffad)) * **processor:** exclude dropped jobs from tracked users and activation records ([#7485](#7485)) ([526602c](526602c)) * **router:** enable live events payload masking by default ([#7500](#7500)) ([8b5c22d](8b5c22d)) * **router:** mask multi-request delivery payloads ([#7476](#7476)) ([f65572e](f65572e)) * **router:** mask reporting sample event secrets ([#7497](#7497)) ([833d694](833d694)) * **router:** report destination status for v1 proxy deliveries in transformer_outgoing_request_count ([#7482](#7482)) ([bba1c21](bba1c21)) ### Miscellaneous * bump sqlconnect-go to v1.34.0 ([#7479](#7479)) ([71e8cfa](71e8cfa)) * stop setting in_reported_by on report rows ([#7458](#7458)) ([814d149](814d149)) * sync release v1.90.0 to main branch ([#7475](#7475)) ([d05fcbb](d05fcbb)) * **tooling:** move rudder-server test MinIO to Silo ([#7469](#7469)) ([935bf59](935bf59)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
itsmihir
pushed a commit
that referenced
this pull request
Oct 20, 2026
🤖 I have created a release *beep* *boop* --- ## [1.91.0](v1.90.0...v1.91.0) (2026-10-20) ### Features * **jobsdb:** pending events gauge for the gw jobsdb ([#7447](#7447)) ([fc539c4](fc539c4)) * **processor:** report event_filter drops per reason and stop its succeeded rows ([#7454](#7454)) ([5caff53](5caff53)) ### Bug Fixes * **destination:** authenticate marketo bulk uploads with bearer token ([#7510](#7510)) ([3eaffad](3eaffad)) * **processor:** exclude dropped jobs from tracked users and activation records ([#7485](#7485)) ([526602c](526602c)) * **router:** enable live events payload masking by default ([#7500](#7500)) ([8b5c22d](8b5c22d)) * **router:** mask multi-request delivery payloads ([#7476](#7476)) ([f65572e](f65572e)) * **router:** mask reporting sample event secrets ([#7497](#7497)) ([833d694](833d694)) * **router:** report destination status for v1 proxy deliveries in transformer_outgoing_request_count ([#7482](#7482)) ([bba1c21](bba1c21)) ### Miscellaneous * bump sqlconnect-go to v1.34.0 ([#7479](#7479)) ([71e8cfa](71e8cfa)) * stop setting in_reported_by on report rows ([#7458](#7458)) ([814d149](814d149)) * sync release v1.90.0 to main branch ([#7475](#7475)) ([d05fcbb](d05fcbb)) * **tooling:** move rudder-server test MinIO to Silo ([#7469](#7469)) ([935bf59](935bf59)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
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
For destinations delivered through the transformer proxy,
transformer_outgoing_request_count/transformer_outgoing_request_latencywere tagged with the HTTP status of the router → transformer proxy call (ProxyRequestStatusCode). For v1 proxy that status is always200(the transformer only propagates a non-200 when there is anauthErrorCategory), so destination 429s/5xx never showed up perendpointPath. While debugging a Braze rate-limit incident this made/users/tracklook healthy (users/track | 200) while every delivery was being 429'd.The destination status is already in the proxy response body as
output.status, butProxyResponseV1didn't parse it.Changes
ProxyResponseV1parsesstatus; the v1 adapter carries it throughTransResponseinto a newProxyRequestResponse.DestinationStatusCode.ProxyRequestResponse.DeliveryStatusCode()returnsDestinationStatusCode, falling back toProxyRequestStatusCodewhen it is0(v0 adapter, early proxy errors, missing field).router/worker.go: the proxy branch recordsresp.DeliveryStatusCode(). Non-proxy branch unchanged (it already records the real destination status).Trade-offs / impact
transformer_outgoing_request_countwhere they previously reported200. This makes proxy and non-proxy series consistent, but dashboards/alerts filteringtransformerProxy="true"+statusCode="200"will shift.router_response_counts.Testing
output.status: 429→ProxyRequestStatusCode=200,DestinationStatusCode=429.TestProxyRequestWithOAuthV2cases now also assertDestinationStatusCode(0 for v0/error paths).TestV1Adapterassertsstatusis parsed; unit test for theDeliveryStatusCode()fallback.go test ./router/transformer/passes;./router/Ginkgo suite 36/36 passed locally (Docker-backed tests not run locally).Linear Ticket
https://linear.app/rudderstack/issue/INT-7375
Security
🤖 Generated with Claude Code