From b594647fd4545b154ed784a4596c60677b507f23 Mon Sep 17 00:00:00 2001 From: Nathaniel Ruiz Nowell Date: Tue, 24 Nov 2020 20:32:12 -0800 Subject: [PATCH] Add missing references to instrumented packages --- .../src/opentelemetry/instrumentation/bootstrap.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap.py b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap.py index 4b6a677a84f..dee1a1d3ffa 100644 --- a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap.py +++ b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap.py @@ -25,6 +25,8 @@ # target library to desired instrumentor path/versioned package name instrumentations = { + "aiohttp-client": "opentelemetry-instrumentation-aiohttp-client>=0.15b0", + "aiopg": "opentelemetry-instrumentation-aiopg>=0.15b0", "asgi": "opentelemetry-instrumentation-asgi>=0.11b0", "asyncpg": "opentelemetry-instrumentation-asyncpg>=0.11b0", "boto": "opentelemetry-instrumentation-boto>=0.11b0", @@ -33,8 +35,8 @@ "dbapi": "opentelemetry-instrumentation-dbapi>=0.8b0", "django": "opentelemetry-instrumentation-django>=0.8b0", "elasticsearch": "opentelemetry-instrumentation-elasticsearch>=0.11b0", - "fastapi": "opentelemetry-instrumentation-fastapi>=0.11b0", "falcon": "opentelemetry-instrumentation-falcon>=0.13b0", + "fastapi": "opentelemetry-instrumentation-fastapi>=0.11b0", "flask": "opentelemetry-instrumentation-flask>=0.8b0", "grpc": "opentelemetry-instrumentation-grpc>=0.8b0", "jinja2": "opentelemetry-instrumentation-jinja2>=0.8b0", @@ -46,15 +48,19 @@ "pyramid": "opentelemetry-instrumentation-pyramid>=0.11b0", "redis": "opentelemetry-instrumentation-redis>=0.8b0", "requests": "opentelemetry-instrumentation-requests>=0.8b0", + "sklearn": "opentelemetry-instrumentation-sklearn>=0.15b0", "sqlalchemy": "opentelemetry-instrumentation-sqlalchemy>=0.8b0", "sqlite3": "opentelemetry-instrumentation-sqlite3>=0.11b0", "starlette": "opentelemetry-instrumentation-starlette>=0.11b0", + "system-metrics": "opentelemetry-instrumentation-system-metrics>=0.15b0", "tornado": "opentelemetry-instrumentation-tornado>=0.13b0", "wsgi": "opentelemetry-instrumentation-wsgi>=0.8b0", } # relevant instrumentors and tracers to uninstall and check for conflicts for target libraries libraries = { + "aiohttp-client": ("opentelemetry-instrumentation-aiohttp-client",), + "aiopg": ("opentelemetry-instrumentation-aiopg",), "asgi": ("opentelemetry-instrumentation-asgi",), "asyncpg": ("opentelemetry-instrumentation-asyncpg",), "boto": ("opentelemetry-instrumentation-boto",), @@ -63,8 +69,8 @@ "dbapi": ("opentelemetry-instrumentation-dbapi",), "django": ("opentelemetry-instrumentation-django",), "elasticsearch": ("opentelemetry-instrumentation-elasticsearch",), - "fastapi": ("opentelemetry-instrumentation-fastapi",), "falcon": ("opentelemetry-instrumentation-falcon",), + "fastapi": ("opentelemetry-instrumentation-fastapi",), "flask": ("opentelemetry-instrumentation-flask",), "grpc": ("opentelemetry-instrumentation-grpc",), "jinja2": ("opentelemetry-instrumentation-jinja2",), @@ -76,9 +82,11 @@ "pyramid": ("opentelemetry-instrumentation-pyramid",), "redis": ("opentelemetry-instrumentation-redis",), "requests": ("opentelemetry-instrumentation-requests",), + "sklearn": ("opentelemetry-instrumentation-sklearn",), "sqlalchemy": ("opentelemetry-instrumentation-sqlalchemy",), "sqlite3": ("opentelemetry-instrumentation-sqlite3",), "starlette": ("opentelemetry-instrumentation-starlette",), + "system-metrics": ("opentelemetry-instrumentation-system-metrics",), "tornado": ("opentelemetry-instrumentation-tornado",), "wsgi": ("opentelemetry-instrumentation-wsgi",), }