[release-announce] osprofiler 4.0.0

no-reply at openstack.org no-reply at openstack.org
Wed Jun 21 11:30:07 UTC 2023


We are delighted to announce the release of:

osprofiler 4.0.0: OpenStack Profiler Library

The source is available from:

    https://opendev.org/openstack/osprofiler

Download the package from:

    https://pypi.org/project/osprofiler

For more details, please see below.

4.0.0
^^^^^


New Features
************

* Add ability to set tracer process tags to Jaeger via a
  configuration option introduced, *profiler_jaeger/process_tags*.

* Introduces service name prefix for Jaeger driver. Please consider
  using option *profiler_jaeger/service_name_prefix* to set it.

* An OTLP (OpenTelemetry) exporter is now supported. The current
  support is experimental but the aim is to deprecate and remove
  legacy Jaeger driver which is using the already deprecated python
  library jaeger client. Operators who want to use it should enable
  *otlp*. OTLP is comptatible with Jaeger backend.


Known Issues
************

* Using devstack, when unstacking, the docker container running
  Jaeger tracing will be deleted that to correctly clean processes
  started by devstack.. This also avoid *./stack.sh* to fail when
  recreating the environnement.


Upgrade Notes
*************

* The minimum redis-py version required is now >= 3.0.0

Changes in osprofiler 3.4.3..4.0.0
----------------------------------

908e740 add support of otlp exporter
52246cf devstack: remove jaeger container on unstack
3c9e7d9 [profiler] hmac_key should be secret
91d7c35 jaeger: introduce process tags' option for tracer
b746875 jaeger: introduce service name prefix
9f50374 jaeger: fix driver initialization for tests
7d2c871 setup.cfg: Replace dashes with underscores
f8d8002 Change StrictRedis usage to Redis
fa83092 tox: Add functional-py38, functional-py39 envs
0b1bfad remove unicode prefix from code
e29b187 Fix formattiing of release list


Diffstat (except docs and test files)
-------------------------------------

.zuul.yaml                                         |   4 +-
devstack/lib/osprofiler                            |  21 ++-
devstack/plugin.sh                                 |   6 +
lower-constraints.txt                              |   2 +
osprofiler/_utils.py                               |  12 ++
osprofiler/drivers/__init__.py                     |   1 +
osprofiler/drivers/jaeger.py                       |  11 +-
osprofiler/drivers/otlp.py                         | 179 +++++++++++++++++++++
osprofiler/drivers/redis_driver.py                 |   4 +-
osprofiler/opts.py                                 |  45 +++++-
...container-when-unstacking-e8fcdc036f80158a.yaml |   7 +
.../jaeger-add-process-tags-79d5f5d7a0b049ef.yaml  |   5 +
...aeger-service-name-prefix-72878a930f700878.yaml |   5 +
.../notes/otlp-driver-cb932038ad580ac2.yaml        |   8 +
.../remove-strict-redis-9eb43d30c9c1fc43.yaml      |   4 +
releasenotes/source/conf.py                        |  16 +-
releasenotes/source/index.rst                      |  22 +--
setup.cfg                                          |  11 +-
test-requirements.txt                              |   2 +
tox.ini                                            |  66 ++++----
25 files changed, 510 insertions(+), 77 deletions(-)


Requirements updates
--------------------

diff --git a/test-requirements.txt b/test-requirements.txt
index 3e1bbd8..096429d 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -22,0 +23,2 @@ jaeger-client>=3.8.0 # Apache-2.0
+opentelemetry-exporter-otlp>=1.16.0
+opentelemetry-sdk>=1.16.0






More information about the Release-announce mailing list