mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-31 14:11:50 +08:00
Update usage section to include only how to instrument
This commit is contained in:
@ -23,9 +23,6 @@ Usage
|
||||
|
||||
from opentelemetry import trace
|
||||
from opentelemetry.instrumentation.aiopg import trace_integration
|
||||
from opentelemetry.sdk.trace import TracerProvider
|
||||
|
||||
trace.set_tracer_provider(TracerProvider())
|
||||
|
||||
trace_integration(aiopg.connection, "_connect", "postgresql", "sql")
|
||||
|
||||
|
Reference in New Issue
Block a user