From b511276b885da178af30c8b7a7bedb228af9991b Mon Sep 17 00:00:00 2001 From: Sylvain Hellegouarch Date: Wed, 2 Aug 2023 22:58:13 +0200 Subject: [PATCH] pass trace_urllib3 argument to control Signed-off-by: Sylvain Hellegouarch --- CHANGELOG.md | 10 +++++++++- chaostracing/__init__.py | 2 +- chaostracing/oltp.py | 5 ++++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0626f1a..d749747 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,15 @@ ## [Unreleased][] -[Unreleased]: https://github.com/chaostoolkit-incubator/chaostoolkit-opentracing/compare/0.13.0...HEAD +[Unreleased]: https://github.com/chaostoolkit-incubator/chaostoolkit-opentracing/compare/0.13.1...HEAD + +## [0.13.1][] - 2023-08-02 + +[0.13.1]: https://github.com/chaostoolkit-incubator/chaostoolkit-opentracing/compare/0.13.0...0.13.1 + +### Fixed + +- Pass `trace_urllib3` to oltp control ## [0.13.0][] - 2023-08-02 diff --git a/chaostracing/__init__.py b/chaostracing/__init__.py index 8cdca84..cac9ed6 100644 --- a/chaostracing/__init__.py +++ b/chaostracing/__init__.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = "0.13.0" +__version__ = "0.13.1" diff --git a/chaostracing/oltp.py b/chaostracing/oltp.py index 24f49db..e45178a 100644 --- a/chaostracing/oltp.py +++ b/chaostracing/oltp.py @@ -98,12 +98,15 @@ def configure_control( trace_request: bool = False, trace_httpx: bool = False, trace_botocore: bool = False, + trace_urllib3: bool = False, configuration: Configuration = None, secrets: Secrets = None, **kwargs: Any, ) -> None: configure_traces(configuration) - configure_instrumentations(trace_request, trace_httpx, trace_botocore) + configure_instrumentations( + trace_request, trace_httpx, trace_botocore, trace_urllib3 + ) global REGISTRY_HANDLER REGISTRY_HANDLER = OLTPRunEventHandler()