We are jazzed to announce the release of: monasca_transform 0.16.0: Data Aggregation and Transformation component for Monasca This release is part of the rocky stable release series. Download the package from: https://tarballs.openstack.org/monasca-transform/ For more details, please see below. Changes in monasca_transform 0.15.0..0.16.0 ------------------------------------------- f11b300 Fix README.rst and add syntax check fbad704 Remove service_id from pre-transform spec 077ea43 Remove testrepository and .testr.conf 5e2687f Switch to using stestr 92b33a1 Convert README.md to ReStructuredTest format 0cf08c4 Cleanup pre transform and transform specs 89cbdb8 fix misspelling of 'monasca' 4527b82 Updated from global requirements 3feaf74 Refresh monasca transform docs d64925a Clean up tox.ini Diffstat (except docs and test files) ------------------------------------- .gitignore | 1 + .stestr.conf | 3 + .testr.conf | 7 - README.md | 12 - README.rst | 110 ++++ lower-constraints.txt | 25 +- monasca_transform/component/insert/__init__.py | 56 +- .../component/setter/pre_hourly_calculate_rate.py | 31 +- .../component/setter/rollup_quantity.py | 37 +- .../component/setter/set_aggregated_metric_name.py | 15 +- .../component/setter/set_aggregated_period.py | 15 +- .../component/usage/calculate_rate.py | 8 - .../component/usage/fetch_quantity.py | 141 ++--- .../component/usage/fetch_quantity_util.py | 16 +- monasca_transform/config/config_initializer.py | 3 +- .../pre_transform_specs/pre_transform_specs.json | 34 +- .../transform_specs/transform_specs.json | 10 +- monasca_transform/driver/mon_metrics_kafka.py | 109 +--- .../transform/grouping/group_sort_by_timestamp.py | 16 - .../transform/grouping/group_sortby_timestamp.py | 183 ------ .../grouping/group_sortby_timestamp_partition.py | 231 ------- monasca_transform/transform/transform_utils.py | 236 +++++-- requirements.txt | 6 +- setup.cfg | 2 +- test-requirements.txt | 5 +- .../pre_transform_specs/pre_transform_specs.json | 51 +- .../data_driven_specs/test_data_driven_specs.py | 69 +- .../transform_specs/transform_specs.json | 24 +- .../cpu_kafka_data_second_stage/cpu_kafka_data.txt | 16 +- .../fetch_quantity_data/fetch_quantity_data.txt | 12 + .../fetch_quantity_data_second_stage.txt | 12 +- .../kafka_data.txt | 12 +- .../kafka_data_second_stage/kafka_data_by_all.txt | 2 +- .../kafka_data_by_project.txt | 4 +- .../mem_total_all/record_store_df.txt | 110 ++-- .../metrics_pre_hourly_data.txt | 114 ++-- .../test_fetch_quantity_instance_usage_agg.py | 3 +- .../usage/test_fetch_quantity_util_agg.py | 6 +- .../test_fetch_quantity_util_agg_second_stage.py | 6 +- .../functional/usage/test_vm_cpu_allocated_agg.py | 6 +- .../test_vm_cpu_allocated_agg_second_stage.py | 6 +- tox.ini | 61 +- 47 files changed, 2405 insertions(+), 1116 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index cd49b7d..c555118 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,3 +10,3 @@ stevedore>=1.20.0 # Apache-2.0 -monasca-common>=1.4.0 # Apache-2.0 -oslo.config>=5.1.0 # Apache-2.0 -oslo.log>=3.30.0 # Apache-2.0 +monasca-common>=2.7.0 # Apache-2.0 +oslo.config>=5.2.0 # Apache-2.0 +oslo.log>=3.36.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 9f3fa87..6d2b3fb 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -10 +10 @@ fixtures>=3.0.0 # Apache-2.0/BSD -os-testr>=1.0.0 # Apache-2.0 +stestr>=2.0.0 # Apache-2.0 @@ -12 +12 @@ os-testr>=1.0.0 # Apache-2.0 -sphinx>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD @@ -14 +13,0 @@ sphinx>=1.6.2 # BSD -testrepository>=0.0.18 # Apache-2.0/BSD