Rename db framework packages from "ext" to "instrumentation" (#966)
This commit is contained in:
parent
cf9b0de2c1
commit
2a7dcea9af
|
|
@ -40,7 +40,7 @@ package_dir=
|
||||||
packages=find_namespace:
|
packages=find_namespace:
|
||||||
install_requires =
|
install_requires =
|
||||||
opentelemetry-api == 0.12.dev0
|
opentelemetry-api == 0.12.dev0
|
||||||
opentelemetry-ext-dbapi == 0.12.dev0
|
opentelemetry-instrumentation-dbapi == 0.12.dev0
|
||||||
opentelemetry-instrumentation == 0.12.dev0
|
opentelemetry-instrumentation == 0.12.dev0
|
||||||
aiopg >= 0.13.0
|
aiopg >= 0.13.0
|
||||||
wrapt >= 1.0.0, < 2.0.0
|
wrapt >= 1.0.0, < 2.0.0
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,10 @@ import typing
|
||||||
import wrapt
|
import wrapt
|
||||||
from aiopg.utils import _ContextManager, _PoolAcquireContextManager
|
from aiopg.utils import _ContextManager, _PoolAcquireContextManager
|
||||||
|
|
||||||
from opentelemetry.ext.dbapi import DatabaseApiIntegration, TracedCursor
|
from opentelemetry.instrumentation.dbapi import (
|
||||||
|
DatabaseApiIntegration,
|
||||||
|
TracedCursor,
|
||||||
|
)
|
||||||
from opentelemetry.trace import SpanKind
|
from opentelemetry.trace import SpanKind
|
||||||
from opentelemetry.trace.status import Status, StatusCanonicalCode
|
from opentelemetry.trace.status import Status, StatusCanonicalCode
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue