Skip to content

Commit

Permalink
Fix: filter Benefits bot events (#3547)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman authored Nov 13, 2024
2 parents 1f20b4e + 7916191 commit 6e506c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions warehouse/models/mart/benefits/fct_benefits_events.sql
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ fct_benefits_events AS (
ELSE version_name
END AS version_name
FROM fct_benefits_events_raw
-- Filter out events from the Azure healthprobe feature
-- captured before we stopped sending events for this feature
-- https://github.com/cal-itp/benefits/issues/1276
WHERE user_properties_user_agent NOT IN ('Edge Health Probe', 'AlwaysOn')
),
fct_benefits_historic_enrollments AS (
-- fct_benefits_historic_enrollments transforms old enrollment events
Expand Down

0 comments on commit 6e506c8

Please sign in to comment.