Update usage section to include only how to instrument
This commit is contained in:
parent
7b0707b1e4
commit
1c33e0da65
|
|
@ -23,9 +23,6 @@ Usage
|
||||||
|
|
||||||
from opentelemetry import trace
|
from opentelemetry import trace
|
||||||
from opentelemetry.instrumentation.aiopg import trace_integration
|
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")
|
trace_integration(aiopg.connection, "_connect", "postgresql", "sql")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue