Scenario: Data drift alerts are generated based on the absolute percentage change in the data.
Threshold set to generate alerts: Change in the distribution of value count by 3%.
Example: Consider a database containing 1,000 records. Initially, a specific record appears 10 times within the database. Subsequently, the frequency of this record increases to 60, and the total number of records rises to 1020. In this context, the overall record count has grown by 20 while the occurrences of the specified record have increased by 50.
Alert: In this scenario, percentage drift is calculated for a value whose occurrences increased from 10 to 60. The proportion changes from (10/1000) × 100 = 1% to (60/1020) × 100 = 5.88%. The resulting change in drift percentage is 5.88% - 1% = 4.88%. Here, the data drift percentage is 4.88%, which exceeds the preset threshold, resulting in an alert.