Update usage section to include only how to instrument

This commit is contained in:
Srikanth Chekuri
2020-11-04 19:04:24 +05:30
parent 7b0707b1e4
commit 1c33e0da65

View File

@ -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")