monasca-persister 2.0.0 (ussuri)
We are jazzed to announce the release of: monasca-persister 2.0.0: Moves metrics and alarm state transitions from the Message Queue to the Metrics and Alarms database. This release is part of the ussuri release series. The source is available from: https://opendev.org/openstack/monasca-persister Download the package from: https://tarballs.openstack.org/monasca-persister/ Please report issues through: https://bugs.launchpad.net/monasca/+bugs For more details, please see below. Changes in monasca-persister 1.15.0..2.0.0 ------------------------------------------ d95e7d7 Update TOX_CONSTRAINTS_FILE for stable/ussuri f181e0a Update .gitreview for stable/ussuri 1bc4818 Migrate from ujson to simplejson 26844c1 Add tests for cassandra/retry_policy.py 72cc931 Fix constraints and requirements to fix failing tests a8b8d3e Fix batch_size configuration option in Docker 0696cf5 Add configuration option influxdb.batch_size 3ed12b9 Change README.rst with a better title 29c6c96 [ussuri][goal] Drop python 2.7 support and testing 97aab2f Support default_retention_hours for influxdb 53fd59f Support Kafka events enable option df12bd8 Support automatic db creation for InfluxDB e883b5b Move data_points to repository class ac14433 Switch to Ussuri jobs 3b6e17c Bump the openstackdocstheme extension to 1.20 71e4101 Blacklist sphinx 2.1.0 (autodoc bug) ce964e4 Support multiple kafka consumers 9354132 Update master for stable/train e7956c9 Add option for kafka client f289a91 Update links in pom.xml Diffstat (except docs and test files) ------------------------------------- .gitreview | 1 + .zuul.yaml | 10 +- README.rst | 9 +- lower-constraints.txt | 5 +- monasca_persister/conf/influxdb.py | 7 ++ .../repositories/abstract_repository.py | 2 +- .../repositories/cassandra/abstract_repository.py | 3 + .../cassandra/alarm_state_history_repository.py | 8 +- .../repositories/cassandra/metrics_repository.py | 7 +- monasca_persister/repositories/data_points.py | 55 +++++++++++ .../elasticsearch/events_repository.py | 8 +- .../repositories/influxdb/abstract_repository.py | 37 +++++-- .../influxdb/alarm_state_history_repository.py | 30 +++--- .../repositories/influxdb/line_utils.py | 33 ++----- .../repositories/influxdb/metrics_repository.py | 2 +- monasca_persister/repositories/persister.py | 37 +------ monasca_persister/repositories/utils.py | 4 +- ...est_cassandra_alarm_state_history_repository.py | 42 ++++---- ...test_influxdb_alarm_state_history_repository.py | 28 +++--- .../db-per-tenant/migrate-to-db-per-tenant.py | 16 ++- pom.xml | 2 +- .../add_influxb_batch_size-01b7a476b6bd8a81.yaml | 6 ++ .../notes/drop-py-2-7-048b2fafecb6f6af.yaml | 6 ++ ...-default-retention-policy-aaa446ebe6fc3cb5.yaml | 7 ++ ...ort-automatic-db-creation-0856216b42b91e7d.yaml | 4 + releasenotes/source/conf.py | 16 --- releasenotes/source/index.rst | 1 + releasenotes/source/train.rst | 6 ++ requirements.txt | 2 + setup.cfg | 4 +- test-requirements.txt | 7 +- tox.ini | 4 +- 43 files changed, 545 insertions(+), 280 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 9754709..c61f1fb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,0 +9,2 @@ monasca-common>=2.16.0 # Apache-2.0 +cassandra-driver>=3.11.0 +simplejson>=3.8.1 diff --git a/test-requirements.txt b/test-requirements.txt index be25cb7..2a7d547 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8 +7,0 @@ coverage!=4.4,>=4.0 # Apache-2.0 -mock>=2.0.0 # BSD @@ -12,0 +12 @@ pycodestyle>=2.5.0 # MIT +cassandra-driver>=3.11.0 @@ -15,2 +15 @@ pycodestyle>=2.5.0 # MIT -sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD -sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD +sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD @@ -18 +17 @@ reno>=2.5.0 # Apache-2.0 -openstackdocstheme>=1.18.1 # Apache-2.0 +openstackdocstheme>=1.20.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org