Complete the revert of "Support Ceilometer API"

This partly reverts commit d32ca24453.
The rest of the revert is in 9b50734bf7.

This partial revert is because the changes to
aodh/api/controllers/v2/alarm_rules/composite.py were omitted in the
original revert.

Change-Id: I181380747bd9f613239de87fa931f75e7d97ff7d
This commit is contained in:
Emma Foley 2023-01-17 15:30:11 +00:00
parent 32236c3986
commit 27b3cd2fcf
1 changed files with 1 additions and 2 deletions

View File

@ -41,8 +41,7 @@ class CompositeRule(wtypes.UserType):
threshold_plugins = None
def __init__(self):
threshold_rules = ('threshold',
'gnocchi_resources_threshold',
threshold_rules = ('gnocchi_resources_threshold',
'gnocchi_aggregation_by_metrics_threshold',
'gnocchi_aggregation_by_resources_threshold')
CompositeRule.threshold_plugins = named.NamedExtensionManager(