commit b968f5fba05e439f9c65d504741bb8ab236e756f
Author: Kevin McDonald <email address hidden>
Date: Wed Jan 6 15:52:55 2016 -0600
Changes aggregator transformer to allow retention_time w/o size
When using an aggregator transformer in pipeline.yaml that
looks like this:
---
transformers:
- name: "aggregator" parameters: retention_time: 60 resource_metadata: last
---
'size' will automatically be defaulted to 1. That means that
aggregation will not happen as expected with a retention_time of
60 seconds.
This fix will only default sample size to 1 if neither
retention_time or size are defined.
Change-Id: I4a3aa0f6de26173e6f9383d570ff2cf13d367e38
Closes-Bug: 1531626
(cherry picked from commit 5a9a41563e9c26fb91f4d5ebf863bf24bf395237)
Reviewed: https:/ /review. openstack. org/266076 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=b968f5fba05 e439f9c65d50474 1bb8ab236e756f
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit b968f5fba05e439 f9c65d504741bb8 ab236e756f
Author: Kevin McDonald <email address hidden>
Date: Wed Jan 6 15:52:55 2016 -0600
Changes aggregator transformer to allow retention_time w/o size
When using an aggregator transformer in pipeline.yaml that
parameters:
retention_ time: 60
resource_ metadata: last
looks like this:
---
transformers:
- name: "aggregator"
---
'size' will automatically be defaulted to 1. That means that
aggregation will not happen as expected with a retention_time of
60 seconds.
This fix will only default sample size to 1 if neither
retention_time or size are defined.
Change-Id: I4a3aa0f6de2617 3e6f9383d570ff2 cf13d367e38 b91f4d5ebf863bf 24bf395237)
Closes-Bug: 1531626
(cherry picked from commit 5a9a41563e9c26f