Problem Statement
We implemented automated traffic bot detection in April 2020 to identify traffic that doesn't identify itself as a "bot" but displays very similar characteristics.
Since May 2024 we have been observing a spike in Unique Devices, and further investigation in T373630 has found that we are seeing an unprecedented rise in redirect-to-pageview (HTTP = 301, 302 requests) that are causing our monthly unique devices to increase. The actors contributing to this increase are displaying behaviors similar to automated traffic but are not detected by our automated bot detection pipeline since the pipeline only filters pageviews.
We want to change the logic of automated traffic detection to include Redirects to pageviews.
Definition of Done
- Thorough impact analysis of this change
- test this change by reprocessing one month or day of data
- evaluate impact to pageviews data - actor_metrics, pageview_actor, pageview_hourly, pageview_daily
- evaluate impact to unique devices - all 4 tables
- Document the change
- receive necessary sign off
- decision brief
- update wikitech pages
- Final Change
- make changes to the automata code
- since webrequest data is available beyond 90 day retention (T375943) , re run July, Aug and Sep 2024 pageview and unique devices pipelines with new logic
- recalculate monthly metrics for the reprocessed months