...
Once, a new trend-detection analysis has been created, one will receive alert emails everytime the number of items in a particular time window (defined by the time-unit) goes above the automatically computed threshold for that period. Moreover, one can also see the trends detected in the historical data using the `get_trenddetection_labels` method of the squirro client. No alert email will be generated for these trends detected in the historical data.
Code Block |
---|
>>> client.get_trenddetection_thresholds(
project_id='2sic33jZTi-ifflvQAVcfw',
trenddetection_id='fd5x9NIqQbyBmF4Yph9MMw')
>>> client.get_trenddetection_labels(
project_id='2sic33jZTi-ifflvQAVcfw',
trenddetection_id='fd5x9NIqQbyBmF4Yph9MMw') |