Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update bootstrap with new instrumentations #913

Merged
merged 3 commits into from
Jul 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,57 @@

# target library to desired instrumentor path/versioned package name
instrumentations = {
"asgi": "opentelemetry-ext-asgi>=0.11b0",
"asyncpg": "opentelemetry-ext-asyncpg>=0.11b0",
"boto": "opentelemetry-ext-boto>=0.11b0",
"botocore": "opentelemetry-ext-botocore>=0.11b0",
"celery": "opentelemetry-ext-celery>=0.11b0",
"dbapi": "opentelemetry-ext-dbapi>=0.8b0",
"django": "opentelemetry-ext-django>=0.8b0",
"elasticsearch": "opentelemetry-ext-elasticsearch>=0.11b0",
"fastapi": "opentelemetry-instrumentation-fastapi>=0.11b0",
"flask": "opentelemetry-ext-flask>=0.8b0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can wait until #890 gets merged so we can add fastapi here?

"grpc": "opentelemetry-ext-grpc>=0.8b0",
"requests": "opentelemetry-ext-requests>=0.8b0",
"jinja2": "opentelemetry-ext-jinja2>=0.8b0",
"mysql": "opentelemetry-ext-mysql>=0.8b0",
"psycopg2": "opentelemetry-ext-psycopg2>=0.8b0",
"pymemcache": "opentelemetry-ext-pymemcache>=0.11b0",
"pymongo": "opentelemetry-ext-pymongo>=0.8b0",
"pymysql": "opentelemetry-ext-pymysql>=0.8b0",
"pyramid": "opentelemetry-ext-pyramid>=0.11b0",
"redis": "opentelemetry-ext-redis>=0.8b0",
"requests": "opentelemetry-ext-requests>=0.8b0",
"sqlalchemy": "opentelemetry-ext-sqlalchemy>=0.8b0",
"sqlite3": "opentelemetry-ext-sqlite3>=0.11b0",
"starlette": "opentelemetry-instrumentation-starlette>=0.11b0",
"wsgi": "opentelemetry-ext-wsgi>=0.8b0",
}

# relevant instrumentors and tracers to uninstall and check for conflicts for target libraries
libraries = {
"asgi": ("opentelemetry-ext-asgi",),
"asyncpg": ("opentelemetry-ext-asyncpg",),
"boto": ("opentelemetry-ext-boto",),
"botocore": ("opentelemetry-ext-botocore",),
"celery": ("opentelemetry-ext-celery",),
"dbapi": ("opentelemetry-ext-dbapi",),
"django": ("opentelemetry-ext-django",),
"elasticsearch": ("opentelemetry-ext-elasticsearch",),
"fastapi": ("opentelemetry-instrumentation-fastapi",),
"flask": ("opentelemetry-ext-flask",),
"grpc": ("opentelemetry-ext-grpc",),
"requests": ("opentelemetry-ext-requests",),
"jinja2": ("opentelemetry-ext-jinja2",),
"mysql": ("opentelemetry-ext-mysql",),
"psycopg2": ("opentelemetry-ext-psycopg2",),
"pymemcache": ("opentelemetry-ext-pymemcache",),
"pymongo": ("opentelemetry-ext-pymongo",),
"pymysql": ("opentelemetry-ext-pymysql",),
"pyramid": ("opentelemetry-ext-pyramid",),
"redis": ("opentelemetry-ext-redis",),
"requests": ("opentelemetry-ext-requests",),
"sqlalchemy": ("opentelemetry-ext-sqlalchemy",),
"sqlite3": ("opentelemetry-ext-sqlite3",),
"starlette": ("opentelemetry-instrumentation-starlette",),
"wsgi": ("opentelemetry-ext-wsgi",),
}

Expand Down
32 changes: 16 additions & 16 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -202,33 +202,33 @@ changedir =
test-core-getting-started: docs/getting_started/tests
test-core-opentracing-shim: ext/opentelemetry-ext-opentracing-shim/tests

test-instrumentation-grpc: ext/opentelemetry-ext-grpc/tests
test-instrumentation-aiohttp-client: ext/opentelemetry-ext-aiohttp-client/tests
test-instrumentation-requests: ext/opentelemetry-ext-requests/tests
test-instrumentation-jinja2: ext/opentelemetry-ext-jinja2/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
test-instrumentation-botocore: ext/opentelemetry-ext-botocore/tests
test-instrumentation-celery: ext/opentelemetry-ext-celery/tests
test-instrumentation-dbapi: ext/opentelemetry-ext-dbapi/tests
test-instrumentation-django: ext/opentelemetry-ext-django/tests
test-instrumentation-example-app: docs/examples/opentelemetry-example-app/tests
test-instrumentation-elasticsearch{2,5,6,7}: ext/opentelemetry-ext-elasticsearch/tests
test-instrumentation-fastapi: ext/opentelemetry-instrumentation-fastapi/tests
test-instrumentation-flask: ext/opentelemetry-ext-flask/tests
test-instrumentation-grpc: ext/opentelemetry-ext-grpc/tests
test-instrumentation-jinja2: ext/opentelemetry-ext-jinja2/tests
test-instrumentation-mysql: ext/opentelemetry-ext-mysql/tests
test-instrumentation-psycopg2: ext/opentelemetry-ext-psycopg2/tests
test-instrumentation-pymemcache: ext/opentelemetry-ext-pymemcache/tests
test-instrumentation-pymongo: ext/opentelemetry-ext-pymongo/tests
test-instrumentation-psycopg2: ext/opentelemetry-ext-psycopg2/tests
test-instrumentation-pymysql: ext/opentelemetry-ext-pymysql/tests
test-instrumentation-pyramid: ext/opentelemetry-ext-pyramid/tests
test-instrumentation-asgi: ext/opentelemetry-ext-asgi/tests
test-instrumentation-sqlite3: ext/opentelemetry-ext-sqlite3/tests
test-instrumentation-wsgi: ext/opentelemetry-ext-wsgi/tests
test-instrumentation-boto: ext/opentelemetry-ext-boto/tests
test-instrumentation-botocore: ext/opentelemetry-ext-botocore/tests
test-instrumentation-fastapi: ext/opentelemetry-instrumentation-fastapi/tests
test-instrumentation-flask: ext/opentelemetry-ext-flask/tests
test-instrumentation-example-app: docs/examples/opentelemetry-example-app/tests
test-instrumentation-sqlalchemy: ext/opentelemetry-ext-sqlalchemy/tests
test-instrumentation-redis: ext/opentelemetry-ext-redis/tests
test-instrumentation-requests: ext/opentelemetry-ext-requests/tests
test-instrumentation-sqlalchemy: ext/opentelemetry-ext-sqlalchemy/tests
test-instrumentation-sqlite3: ext/opentelemetry-ext-sqlite3/tests
test-instrumentation-starlette: ext/opentelemetry-instrumentation-starlette/tests
test-instrumentation-system-metrics: ext/opentelemetry-ext-system-metrics/tests
test-instrumentation-celery: ext/opentelemetry-ext-celery/tests
test-instrumentation-elasticsearch{2,5,6,7}: ext/opentelemetry-ext-elasticsearch/tests
test-instrumentation-asyncpg: ext/opentelemetry-ext-asyncpg/tests
test-instrumentation-wsgi: ext/opentelemetry-ext-wsgi/tests

test-exporter-jaeger: ext/opentelemetry-ext-jaeger/tests
test-exporter-datadog: ext/opentelemetry-ext-datadog/tests
Expand Down