ext/aiopg: Add instrumentation for aiopg
@@ -32,6 +32,10 @@ envlist =
py3{5,6,7,8}-test-instrumentation-aiohttp-client
pypy3-test-instrumentation-aiohttp-client
+ ; opentelemetry-instrumentation-aiopg
+ py3{5,6,7,8}-test-instrumentation-aiopg
+ ; instrumentation-aiopg intentionally excluded from pypy3
+
; opentelemetry-ext-botocore
py3{6,7,8}-test-instrumentation-botocore
pypy3-test-instrumentation-botocore
@@ -194,6 +198,7 @@ changedir =
test-core-opentracing-shim: ext/opentelemetry-ext-opentracing-shim/tests
test-instrumentation-aiohttp-client: ext/opentelemetry-ext-aiohttp-client/tests
+ test-instrumentation-aiopg: ext/opentelemetry-instrumentation-aiopg/tests
test-instrumentation-asgi: ext/opentelemetry-ext-asgi/tests
test-instrumentation-asyncpg: ext/opentelemetry-ext-asyncpg/tests
test-instrumentation-boto: ext/opentelemetry-ext-boto/tests
@@ -295,6 +300,8 @@ commands_pre =
aiohttp-client: pip install {toxinidir}/opentelemetry-sdk {toxinidir}/ext/opentelemetry-ext-aiohttp-client
+ aiopg: pip install {toxinidir}/ext/opentelemetry-ext-dbapi pip install {toxinidir}/ext/opentelemetry-instrumentation-aiopg[test]
+
jaeger: pip install {toxinidir}/ext/opentelemetry-ext-jaeger
opentracing-shim: pip install {toxinidir}/opentelemetry-sdk
@@ -392,6 +399,7 @@ deps =
pymongo ~= 3.1
pymysql ~= 0.9.3
psycopg2-binary ~= 2.8.4
+ aiopg >= 0.13.0
sqlalchemy ~= 1.3.16
redis ~= 3.3.11
celery ~= 4.0, != 4.4.4
@@ -412,6 +420,7 @@ commands_pre =
-e {toxinidir}/ext/opentelemetry-ext-pymongo \
-e {toxinidir}/ext/opentelemetry-ext-pymysql \
-e {toxinidir}/ext/opentelemetry-ext-sqlalchemy \
+ -e {toxinidir}/ext/opentelemetry-instrumentation-aiopg \
-e {toxinidir}/ext/opentelemetry-ext-redis \
-e {toxinidir}/ext/opentelemetry-ext-system-metrics \
-e {toxinidir}/ext/opentelemetry-ext-opencensusexporter
