Merge "gnocchi: add ceilometer-high{,-rate} archive policies"
This commit is contained in:
commit
e04a7e8c82
|
@ -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