Skip to content

Commit

Permalink
Mv temp fix to gen script
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Feb 26, 2024
1 parent 1dec73f commit e19b13a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@
"library": "aiohttp ~= 3.0",
"instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.45b0.dev",
},
# FIXME: Add this logic once these packages are available in Pypi
# {
# "library": "aiohttp ~= 3.0",
# "instrumentation": "opentelemetry-instrumentation-aiohttp-server==0.45b0.dev",
# },
{
"library": "aiopg >= 0.13.0, < 2.0.0",
"instrumentation": "opentelemetry-instrumentation-aiopg==0.45b0.dev",
Expand Down
4 changes: 4 additions & 0 deletions scripts/generate_instrumentation_bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ def main():
default_instrumentations = ast.List(elts=[])
libraries = ast.List(elts=[])
for pkg in get_instrumentation_packages():
# FIXME: Remove this logic once these packages are available in Pypi
if pkg["name"] == "opentelemetry-instrumentation-aiohttp-server":
continue

if not pkg["instruments"]:
default_instrumentations.elts.append(ast.Str(pkg["requirement"]))
for target_pkg in pkg["instruments"]:
Expand Down

0 comments on commit e19b13a

Please sign in to comment.