Skip to content

Commit 511538b

Browse files
committed
updated rules_mapping to include spike_aggregation
1 parent 325f1df commit 511538b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

elastalert/loaders.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class RulesLoader(object):
5050
'cardinality': ruletypes.CardinalityRule,
5151
'metric_aggregation': ruletypes.MetricAggregationRule,
5252
'percentage_match': ruletypes.PercentageMatchRule,
53+
'spike_aggregation': ruletypes.SpikeMetricAggregationRule,
5354
}
5455

5556
# Used to map names of alerts to their classes

0 commit comments

Comments
 (0)