mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-30 05:32:30 +08:00
Update __init__.py (#223)
This commit is contained in:
@ -25,7 +25,7 @@ Usage
|
||||
import opentelemetry.instrumentation.requests
|
||||
|
||||
# You can optionally pass a custom TracerProvider to
|
||||
# RequestInstrumentor.instrument()
|
||||
# RequestsInstrumentor.instrument()
|
||||
opentelemetry.instrumentation.requests.RequestsInstrumentor().instrument()
|
||||
response = requests.get(url="https://www.example.org/")
|
||||
|
||||
|
Reference in New Issue
Block a user