monasca-thresh/thresh/src/test/java/monasca/thresh/domain
Craig Bryant 9c4bd6cc99 Simplify the check for whether a metric matches
The old way was more efficient if there were few dimensions on
the metric and lots of Alarm Definitions with different
dimension sets for a given tenant id and metric name, but that
is probably unlikely. The more common case will be one or two
alarm definitions per tenant id and metric name and more
dimensions on the metric. The new algorithm is faster for that
case since it doesn't create every possible combinations of
dimensions like the old algorithm

Change-Id: I183570d52c61f0a2932cf37c5c659a6c529b4bbb
2015-05-29 15:46:41 -06:00
..
model Simplify the check for whether a metric matches 2015-05-29 15:46:41 -06:00