Repository navigation
feat(processor): add source_out reporting metric - #7435
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7435 +/- ##
==========================================
+ Coverage 84.52% 84.92% +0.40%
==========================================
Files 623 623
Lines 62014 62034 +20
==========================================
+ Hits 52415 52683 +268
+ Misses 9596 9348 -248
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
7731ffd to
48982fe
Compare
atzoum
left a comment
There was a problem hiding this comment.
Please advise your LLM to avoid overloading PR descriptions with unnecessary information, such as:
- Out-of-context references, e.g. Sankey
- A detailed enumeration of every change
- A dedicated tests section
The purpose of the PR description is to provide a concise overview of the change, along with any important context that is useful to understand before reading the diff, or information that would not be obvious from the diff itself.
48982fe to
0b1dd5c
Compare
0b1dd5c to
ddf6c3d
Compare
5eb3973 to
d82abf8
Compare
ddf6c3d to
98b5bb2
Compare
d82abf8 to
a6fdfa5
Compare
98b5bb2 to
e8d74be
Compare
59b71b9 to
72f2c22
Compare
1f3c8fd to
2c1ae76
Compare
| GATEWAY_INGESTED = "gw_ingested" | ||
| DESTINATION_ENTER = "destination_enter" | ||
| DESTINATION_FILTER = "destination_filter" | ||
| SOURCE_OUT = "source_out" |
There was a problem hiding this comment.
can we reorder the stages here, so that it reflect the actual stage order
| // destinationId and inPU stay empty. The filtered row replaces the source-level | ||
| // destination_filter/filtered_no_destination row emitted below, so a zero-candidate | ||
| // event is never reported by both PUs. | ||
| sourceOutEnabled := proc.isReportingEnabled() && proc.config.reportingSourceOutMetricsEnabled.Load() |
There was a problem hiding this comment.
lets also update getSourceFilteredEventsByNameAndTypeQuery query in reporting
There was a problem hiding this comment.
Didn't understand this. Can you elborate?
2c1ae76 to
8fe9986
Compare
Adds a source_out reporting PU emitted once per event at the destination fan-out, as the source-level outcome of an event before it is split per destination: succeeded/200 when the event has at least one candidate destination, whether or not every candidate is then excluded per destination, and filtered/298 when it has no candidate destination at all. The filtered row replaces the source-level destination_filter filtered_no_destination row, which was the one source-level row in an otherwise per-destination PU. Behind Reporting.sourceOutMetrics.enabled (default false): off keeps today's rows exactly, on emits source_out and stops the filtered_no_destination row. Rows carry an empty destination id and inPU and aggregate per source, event name and event type. destination_enter and the per-destination filtered_* rows are unchanged in both states. Co-Authored-By: Claude Fable 5.1 <[email protected]> 🔒 Scanned for secrets using gitleaks 8.28.0
🔒 Scanned for secrets using gitleaks 8.28.0
8fe9986 to
da7e900
Compare
🤖 I have created a release *beep* *boop* --- ## [1.90.0-rc.1](v1.89.0...v1.90.0-rc.1) (2026-10-12) ### Features * **processor:** add source_out reporting metric ([#7435](#7435)) ([909fba9](909fba9)) * **processor:** allow disabling event schemas v2 per source ([#7429](#7429)) ([a8c12b2](a8c12b2)) * **processor:** report dest_transformer diff rows for multiplexing destination transformations ([#7446](#7446)) ([cd95c32](cd95c32)) * **processor:** report dest_transformer succeeded for destinations without a destination transformation ([#7445](#7445)) ([21f7e41](21f7e41)) * **processor:** report user_transformer succeeded for destinations without a user transformation ([#7440](#7440)) ([f424257](f424257)) * **router:** mask live events destination credentials ([#7460](#7460)) ([5fa5fe2](5fa5fe2)) * **warehouse:** add Microsoft Fabric destination ([#7441](#7441)) ([74940c2](74940c2)) ### Bug Fixes * **batchrouter:** do not abort warehouse jobs on a zero failure timestamp ([#7426](#7426)) ([506f6d5](506f6d5)) * **batchrouter:** recover snowpipe streaming channels for tables dropped externally ([#7434](#7434)) ([93cd81d](93cd81d)) * **destination:** encode Lytics bulk upload URL values ([#7433](#7433)) ([08e6937](08e6937)) * **destination:** retry bqstream transport failures ([#7464](#7464)) ([cd3dc3e](cd3dc3e)) * **warehouse:** cap deltalake validation schema describes ([#7444](#7444)) ([d119779](d119779)) * **warehouse:** keep snowflake copy credentials out of logs ([#7442](#7442)) ([f91747b](f91747b)) * **warehouse:** set explicit lineSep for deltalake csv copy ([#7455](#7455)) ([cc22d18](cc22d18)) ### Miscellaneous * migrate self-hosted arm64 docker build runners to gha-runner-scale-set ([#7425](#7425)) ([5cdffde](5cdffde)) * **processor:** retire the destination-filter reorder, dedup and gw_ingested reporting flags ([#7450](#7450)) ([1040511](1040511)) * pull openapi-generator through the ECR pull-through cache ([#7449](#7449)) ([6e9f920](6e9f920)) --- 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>
🤖 I have created a release *beep* *boop* --- ## [1.90.0](v1.89.0...v1.90.0) (2026-10-12) ### Features * **processor:** add source_out reporting metric ([#7435](#7435)) ([909fba9](909fba9)) * **processor:** allow disabling event schemas v2 per source ([#7429](#7429)) ([a8c12b2](a8c12b2)) * **processor:** report dest_transformer diff rows for multiplexing destination transformations ([#7446](#7446)) ([cd95c32](cd95c32)) * **processor:** report dest_transformer succeeded for destinations without a destination transformation ([#7445](#7445)) ([21f7e41](21f7e41)) * **processor:** report user_transformer succeeded for destinations without a user transformation ([#7440](#7440)) ([f424257](f424257)) * **router:** mask live events destination credentials ([#7460](#7460)) ([5fa5fe2](5fa5fe2)) * **warehouse:** add Microsoft Fabric destination ([#7441](#7441)) ([74940c2](74940c2)) ### Bug Fixes * **batchrouter:** do not abort warehouse jobs on a zero failure timestamp ([#7426](#7426)) ([506f6d5](506f6d5)) * **batchrouter:** recover snowpipe streaming channels for tables dropped externally ([#7434](#7434)) ([93cd81d](93cd81d)) * **destination:** encode Lytics bulk upload URL values ([#7433](#7433)) ([08e6937](08e6937)) * **destination:** retry bqstream transport failures ([#7464](#7464)) ([cd3dc3e](cd3dc3e)) * **warehouse:** cap deltalake validation schema describes ([#7444](#7444)) ([d119779](d119779)) * **warehouse:** keep snowflake copy credentials out of logs ([#7442](#7442)) ([f91747b](f91747b)) * **warehouse:** set explicit lineSep for deltalake csv copy ([#7455](#7455)) ([cc22d18](cc22d18)) ### Miscellaneous * migrate self-hosted arm64 docker build runners to gha-runner-scale-set ([#7425](#7425)) ([5cdffde](5cdffde)) * **processor:** retire the destination-filter reorder, dedup and gw_ingested reporting flags ([#7450](#7450)) ([1040511](1040511)) * pull openapi-generator through the ECR pull-through cache ([#7449](#7449)) ([6e9f920](6e9f920)) --- 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>
Description
Adds a
source_outreporting PU, emitted once per event at the destination fan-out, as the source-level outcome of an event before it is split per destination:succeeded/200 when the event has at least one candidate destination, whether or not every candidate is then excluded by integrations or consent (those exclusions stay per-destinationfiltered_*rows);filtered/298 when it has no candidate destination at all. This replaces today's source-leveldestination_filter/filtered_no_destinationrow, which was the one source-level row in an otherwise per-destination PU.Behind
Reporting.sourceOutMetrics.enabled(default false): off keeps today's rows exactly, on emitssource_outand stops thefiltered_no_destinationrow. Rows carry an emptydestination_idandin_pu, keyed per source, event name and event type.destination_enterand the per-destinationfiltered_*rows are unchanged in both states.Linear Ticket
PIPE-3451
Security