Skip to content

Commit

Permalink
pass trace_urllib3 argument to control
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
  • Loading branch information
Lawouach committed Aug 2, 2023
1 parent 1c7c7b1 commit b511276
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion chaostracing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
__version__ = "0.13.0"
__version__ = "0.13.1"
5 changes: 4 additions & 1 deletion chaostracing/oltp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b511276

Please sign in to comment.