File tree 3 files changed +6
-4
lines changed
instrumentation/opentelemetry-instrumentation-urllib3
src/opentelemetry/instrumentation/urllib3
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
31
31
32
32
### Fixed
33
33
34
+ - Fixed urllib3 instrumentation example in instrumentation documentation
35
+ ([ #1793 ] ( https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1793 ) )
34
36
- Fix elasticsearch db.statement attribute to be sanitized by default
35
37
([ #1758 ] ( https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1758 ) )
36
38
- Fix ` AttributeError ` when AWS Lambda handler receives a list event
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ The hooks can be configured as follows:
38
38
def response_hook (span , request , response ):
39
39
pass
40
40
41
- URLLib3Instrumentor.instrument(
42
- request_hook = request_hook, response_hook = response_hook)
41
+ URLLib3Instrumentor() .instrument(
42
+ request_hook = request_hook, response_hook = response_hook
43
43
)
44
44
45
45
Exclude lists
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ def request_hook(span, request):
56
56
def response_hook(span, request, response):
57
57
pass
58
58
59
- URLLib3Instrumentor.instrument(
60
- request_hook=request_hook, response_hook=response_hook)
59
+ URLLib3Instrumentor() .instrument(
60
+ request_hook=request_hook, response_hook=response_hook
61
61
)
62
62
63
63
Exclude lists
You can’t perform that action at this time.
0 commit comments