mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-28 20:52:57 +08:00
Fix doc error in file-level code block (#710)
This commit is contained in:
@ -24,8 +24,8 @@ Usage
|
||||
import requests
|
||||
from opentelemetry.instrumentation.requests import RequestsInstrumentor
|
||||
|
||||
# You can optionally pass a custom TracerProvider to
|
||||
RequestsInstrumentor.instrument()
|
||||
# You can optionally pass a custom TracerProvider to instrument().
|
||||
RequestsInstrumentor().instrument()
|
||||
response = requests.get(url="https://www.example.org/")
|
||||
|
||||
API
|
||||
|
Reference in New Issue
Block a user