gnocchi: add ceilometer-high{,-rate} archive policies
Change-Id: Id2fde1786fbec012781c1794f78c948fa4e8a24e
This commit is contained in:
parent
80239e48ea
commit
b5ec5e43c1
@ -18,6 +18,29 @@ archive_policies:
|
||||
definition:
|
||||
- granularity: 5 minutes
|
||||
timespan: 30 days
|
||||
- name: ceilometer-high
|
||||
aggregation_methods:
|
||||
- mean
|
||||
back_window: 0
|
||||
definition:
|
||||
- granularity: 1 second
|
||||
timespan: 1 hour
|
||||
- granularity: 1 minute
|
||||
timespan: 1 day
|
||||
- granularity: 1 hour
|
||||
timespan: 365 days
|
||||
- name: ceilometer-high-rate
|
||||
aggregation_methods:
|
||||
- mean
|
||||
- rate:mean
|
||||
back_window: 0
|
||||
definition:
|
||||
- granularity: 1 second
|
||||
timespan: 1 hour
|
||||
- granularity: 1 minute
|
||||
timespan: 1 day
|
||||
- granularity: 1 hour
|
||||
timespan: 365 days
|
||||
|
||||
resources:
|
||||
- resource_type: identity
|
||||
|
@ -534,6 +534,8 @@ class PublisherWorkflowTest(base.BaseTestCase,
|
||||
expected_calls = [
|
||||
mock.call.archive_policy.get("ceilometer-low"),
|
||||
mock.call.archive_policy.get("ceilometer-low-rate"),
|
||||
mock.call.archive_policy.get("ceilometer-high"),
|
||||
mock.call.archive_policy.get("ceilometer-high-rate"),
|
||||
mock.call.metric.batch_resources_metrics_measures(
|
||||
{resource_id: {metric_name: self.metric_attributes}},
|
||||
create_metrics=True)
|
||||
|
Loading…
Reference in New Issue
Block a user