[release-announce] osprofiler 2.8.0 (train)
no-reply at openstack.org
no-reply at openstack.org
Tue May 21 17:27:46 UTC 2019
We are happy to announce the release of:
osprofiler 2.8.0: OpenStack Profiler Library
This release is part of the train release series.
The source is available from:
https://opendev.org/openstack/osprofiler
Download the package from:
https://pypi.org/project/osprofiler
Please report issues through:
https://bugs.launchpad.net/osprofiler/+bugs
For more details, please see below.
2.8.0
^^^^^
New Features
************
* Redis storage schema is optimized for higher performance.
Previously Redis driver stored each tracing event under its own key,
as result both list and get operations required full scan of the
database. With the optimized schema traces are stored as Redis lists
under a key equal to trace id. So list operation iterates only over
unique trace ids and get operation retrieves content of a specified
list. Note that list operation still needs to retrieve at least 1
event from the trace to get a timestamp.
Upgrade Notes
*************
* The optimized Redis driver is backward compatible: while new
events are stored using new schema the driver can retrieve existing
events using both old and new schemas.
Changes in osprofiler 2.7.0..2.8.0
----------------------------------
0fcc65d Automatic configuration of SQLAlchemy driver in DevStack
5386d7c change function list_traces of mongodb module
b018925 Replace git.openstack.org URLs with opendev.org URLs
895dbc6 Fix elasticsearch version in python requirements
147effe Optimize storage schema for Redis driver
Diffstat (except docs and test files)
-------------------------------------
.zuul.yaml | 21 +++++++++++++-
README.rst | 2 +-
devstack/README.rst | 8 ++++--
devstack/lib/osprofiler | 6 ++++
osprofiler/drivers/mongodb.py | 2 +-
osprofiler/drivers/redis_driver.py | 32 ++++++++++++++++++----
osprofiler/drivers/sqlalchemy_driver.py | 17 ++++++++++++
playbooks/osprofiler-post.yaml | 27 +++++++++---------
.../notes/redis-improvement-d4c91683fc89f570.yaml | 16 +++++++++++
test-requirements.txt | 2 +-
tox.ini | 2 +-
12 files changed, 110 insertions(+), 29 deletions(-)
Requirements updates
--------------------
diff --git a/test-requirements.txt b/test-requirements.txt
index ed7dc97..9153e9e 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -18 +18 @@ pymongo!=3.1,>=3.0.2 # Apache-2.0
-elasticsearch>=2.0.0,<=3.0.0 # Apache-2.0
+elasticsearch>=2.0.0,<3.0.0 # Apache-2.0
More information about the Release-announce
mailing list