BinSize
BinSize
Time bin sizes for alert rule aggregation.
Defines the time window granularity for aggregating metrics when evaluating alert rules. Smaller bin sizes provide more frequent monitoring but may be more sensitive to noise.
Example
alert_rule = AlertRule(
name="Hourly Drift Check",
bin_size=BinSize.HOUR,
# ... other parameters
)HOUR = 'Hour'
DAY = 'Day'
WEEK = 'Week'
MONTH = 'Month'
Last updated
Was this helpful?