Skip to content

Commit

Permalink
Add consistent import statement for URLLibInstrumentor
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble authored Sep 12, 2024
1 parent d135f20 commit b10e6b1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ The hooks can be configured as follows:

.. code:: python
from opentelemetry.instrumentation.urllib import URLLibInstrumentor
# `request_obj` is an instance of urllib.request.Request
def request_hook(span, request_obj):
pass
Expand Down

0 comments on commit b10e6b1

Please sign in to comment.