We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Add support for confluent-kafka v2.3

**Is your feature request related to a problem?**
We've recently upgraded our confluent-kafka python version to v2.3. But this version is not yet supported by the instrumentor.

**Describe the solution you'd like**
Confluent kafka version 2.3.x is supported by the instrumentor



--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py`
Content:
```
1 # Copyright The OpenTelemetry Authors
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 
15 # DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES.
16 # RUN `python scripts/generate_instrumentation_bootstrap.py` TO REGENERATE.
17 
18 libraries = [
19     {
20         "library": "aio_pika >= 7.2.0, < 10.0.0",
21         "instrumentation": "opentelemetry-instrumentation-aio-pika==0.44b0.dev",
22     },
23     {
24         "library": "aiohttp ~= 3.0",
25         "instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.44b0.dev",
26     },
27     {
28         "library": "aiohttp ~= 3.0",
29         "instrumentation": "opentelemetry-instrumentation-aiohttp-server==0.44b0.dev",
30     },
31     {
32         "library": "aiopg >= 0.13.0, < 2.0.0",
33         "instrumentation": "opentelemetry-instrumentation-aiopg==0.44b0.dev",
34     },
35     {
36         "library": "asgiref ~= 3.0",
37         "instrumentation": "opentelemetry-instrumentation-asgi==0.44b0.dev",
38     },
39     {
40         "library": "asyncpg >= 0.12.0",
41         "instrumentation": "opentelemetry-instrumentation-asyncpg==0.44b0.dev",
42     },
43     {
44         "library": "boto~=2.0",
45         "instrumentation": "opentelemetry-instrumentation-boto==0.44b0.dev",
46     },
47     {
48         "library": "boto3 ~= 1.0",
49         "instrumentation": "opentelemetry-instrumentation-boto3sqs==0.44b0.dev",
50     },
51     {
52         "library": "botocore ~= 1.0",
53         "instrumentation": "opentelemetry-instrumentation-botocore==0.44b0.dev",
54     },
55     {
56         "library": "cassandra-driver ~= 3.25",
57         "instrumentation": "opentelemetry-instrumentation-cassandra==0.44b0.dev",
58     },
59     {
60         "library": "scylla-driver ~= 3.25",
61         "instrumentation": "opentelemetry-instrumentation-cassandra==0.44b0.dev",
62     },
63     {
64         "library": "celery >= 4.0, < 6.0",
65         "instrumentation": "opentelemetry-instrumentation-celery==0.44b0.dev",
66     },
67     {
68         "library": "confluent-kafka >= 1.8.2, <= 2.2.0",
69         "instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.44b0.dev",
70     },
71     {
72         "library": "django >= 1.10",
73         "instrumentation": "opentelemetry-instrumentation-django==0.44b0.dev",
74     },
75     {
76         "library": "elasticsearch >= 2.0",
77         "instrumentation": "opentelemetry-instrumentation-elasticsearch==0.44b0.dev",
78     },
79     {
80         "library": "falcon >= 1.4.1, < 3.1.2",
81         "instrumentation": "opentelemetry-instrumentation-falcon==0.44b0.dev",
82     },
83     {
84         "library": "fastapi ~= 0.58",
85         "instrumentation": "opentelemetry-instrumentation-fastapi==0.44b0.dev",
86     },
87     {
88         "library": "werkzeug < 3.0.0",
89         "instrumentation": "opentelemetry-instrumentation-flask==0.44b0.dev",
90     },
91     {
92         "library": "flask >= 1.0",
93         "instrumentation": "opentelemetry-instrumentation-flask==0.44b0.dev",
94     },
95     {
96         "library": "grpcio ~= 1.27",
97         "instrumentation": "opentelemetry-instrumentation-grpc==0.44b0.dev",
98     },
99     {
100         "library": "httpx >= 0.18.0",
101         "instrumentation": "opentelemetry-instrumentation-httpx==0.44b0.dev",
102     },
103     {
104         "library": "jinja2 >= 2.7, < 4.0",
105         "instrumentation": "opentelemetry-instrumentation-jinja2==0.44b0.dev",
106     },
107     {
108         "library": "kafka-python >= 2.0",
109         "instrumentation": "opentelemetry-instrumentation-kafka-python==0.44b0.dev",
110     },
111     {
112         "library": "mysql-connector-python ~= 8.0",
113         "instrumentation": "opentelemetry-instrumentation-mysql==0.44b0.dev",
114     },
115     {
116         "library": "mysqlclient < 3",
117         "instrumentation": "opentelemetry-instrumentation-mysqlclient==0.44b0.dev",
118     },
119     {
120         "library": "pika >= 0.12.0",
121         "instrumentation": "opentelemetry-instrumentation-pika==0.44b0.dev",
122     },
123     {
124         "library": "psycopg2 >= 2.7.3.1",
125         "instrumentation": "opentelemetry-instrumentation-psycopg2==0.44b0.dev",
126     },
127     {
128         "library": "pymemcache >= 1.3.5, < 5",
129         "instrumentation": "opentelemetry-instrumentation-pymemcache==0.44b0.dev",
130     },
131     {
132         "library": "pymongo >= 3.1, < 5.0",
133         "instrumentation": "opentelemetry-instrumentation-pymongo==0.44b0.dev",
134     },
135     {
136         "library": "PyMySQL < 2",
137         "instrumentation": "opentelemetry-instrumentation-pymysql==0.44b0.dev",
138     },
139     {
140         "library": "pyramid >= 1.7",
141         "instrumentation": "opentelemetry-instrumentation-pyramid==0.44b0.dev",
142     },
143     {
144         "library": "redis >= 2.6",
145         "instrumentation": "opentelemetry-instrumentation-redis==0.44b0.dev",
146     },
147     {
148         "library": "remoulade >= 0.50",
149         "instrumentation": "opentelemetry-instrumentation-remoulade==0.44b0.dev",
150     },
151     {
152         "library": "requests ~= 2.0",
153         "instrumentation": "opentelemetry-instrumentation-requests==0.44b0.dev",
154     },
155     {
156         "library": "scikit-learn ~= 0.24.0",
157         "instrumentation": "opentelemetry-instrumentation-sklearn==0.44b0.dev",
158     },
159     {
160         "library": "sqlalchemy",
161         "instrumentation": "opentelemetry-instrumentation-sqlalchemy==0.44b0.dev",
162     },
163     {
164         "library": "starlette ~= 0.13.0",
165         "instrumentation": "opentelemetry-instrumentation-starlette==0.44b0.dev",
166     },
167     {
168         "library": "psutil >= 5",
169         "instrumentation": "opentelemetry-instrumentation-system-metrics==0.44b0.dev",
170     },
171     {
172         "library": "tornado >= 5.1.1",
173         "instrumentation": "opentelemetry-instrumentation-tornado==0.44b0.dev",
174     },
175     {
176         "library": "tortoise-orm >= 0.17.0",
177         "instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.44b0.dev",
178     },
179     {
180         "library": "pydantic >= 1.10.2",
181         "instrumentation": "opentelemetry-instrumentation-tortoiseorm==0.44b0.dev",
182     },
183     {
184         "library": "urllib3 >= 1.0.0, < 3.0.0",
185         "instrumentation": "opentelemetry-instrumentation-urllib3==0.44b0.dev",
186     },
187 ]
188 default_instrumentations = [
189     "opentelemetry-instrumentation-aws-lambda==0.44b0.dev",
190     "opentelemetry-instrumentation-dbapi==0.44b0.dev",
191     "opentelemetry-instrumentation-logging==0.44b0.dev",
192     "opentelemetry-instrumentation-sqlite3==0.44b0.dev",
193     "opentelemetry-instrumentation-urllib==0.44b0.dev",
194     "opentelemetry-instrumentation-wsgi==0.44b0.dev",
195 ]
196
```

Path: `instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py`
Content:
```
1 # Copyright The OpenTelemetry Authors
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 
15 
16 _instruments = ("confluent-kafka >= 1.8.2, <= 2.2.0",)
17
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py b/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py
--- a/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py
+++ b/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py
@@ -13,4 +13,4 @@
 # limitations under the License.
 
 
-_instruments = ("confluent-kafka >= 1.8.2, <= 2.2.0",)
+_instruments = ("confluent-kafka >= 1.8.2, <= 2.3.0",)
diff --git a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py
--- a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py
+++ b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py
@@ -65,7 +65,7 @@
         "instrumentation": "opentelemetry-instrumentation-celery==0.44b0.dev",
     },
     {
-        "library": "confluent-kafka >= 1.8.2, <= 2.2.0",
+        "library": "confluent-kafka >= 1.8.2, <= 2.3.0",
         "instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.44b0.dev",
     },
     {

{"golden_diff": "diff --git a/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py b/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py\n--- a/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py\n+++ b/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py\n@@ -13,4 +13,4 @@\n # limitations under the License.\n \n \n-_instruments = (\"confluent-kafka >= 1.8.2, <= 2.2.0\",)\n+_instruments = (\"confluent-kafka >= 1.8.2, <= 2.3.0\",)\ndiff --git a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py\n--- a/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py\n+++ b/opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py\n@@ -65,7 +65,7 @@\n         \"instrumentation\": \"opentelemetry-instrumentation-celery==0.44b0.dev\",\n     },\n     {\n-        \"library\": \"confluent-kafka >= 1.8.2, <= 2.2.0\",\n+        \"library\": \"confluent-kafka >= 1.8.2, <= 2.3.0\",\n         \"instrumentation\": \"opentelemetry-instrumentation-confluent-kafka==0.44b0.dev\",\n     },\n     {\n", "issue": "Add support for confluent-kafka v2.3\n\r\n**Is your feature request related to a problem?**\r\nWe've recently upgraded our confluent-kafka python version to v2.3. But this version is not yet supported by the instrumentor.\r\n\r\n**Describe the solution you'd like**\r\nConfluent kafka version 2.3.x is supported by the instrumentor\r\n\r\n\n", "before_files": [{"content": "# Copyright The OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES.\n# RUN `python scripts/generate_instrumentation_bootstrap.py` TO REGENERATE.\n\nlibraries = [\n    {\n        \"library\": \"aio_pika >= 7.2.0, < 10.0.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-aio-pika==0.44b0.dev\",\n    },\n    {\n        \"library\": \"aiohttp ~= 3.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-aiohttp-client==0.44b0.dev\",\n    },\n    {\n        \"library\": \"aiohttp ~= 3.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-aiohttp-server==0.44b0.dev\",\n    },\n    {\n        \"library\": \"aiopg >= 0.13.0, < 2.0.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-aiopg==0.44b0.dev\",\n    },\n    {\n        \"library\": \"asgiref ~= 3.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-asgi==0.44b0.dev\",\n    },\n    {\n        \"library\": \"asyncpg >= 0.12.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-asyncpg==0.44b0.dev\",\n    },\n    {\n        \"library\": \"boto~=2.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-boto==0.44b0.dev\",\n    },\n    {\n        \"library\": \"boto3 ~= 1.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-boto3sqs==0.44b0.dev\",\n    },\n    {\n        \"library\": \"botocore ~= 1.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-botocore==0.44b0.dev\",\n    },\n    {\n        \"library\": \"cassandra-driver ~= 3.25\",\n        \"instrumentation\": \"opentelemetry-instrumentation-cassandra==0.44b0.dev\",\n    },\n    {\n        \"library\": \"scylla-driver ~= 3.25\",\n        \"instrumentation\": \"opentelemetry-instrumentation-cassandra==0.44b0.dev\",\n    },\n    {\n        \"library\": \"celery >= 4.0, < 6.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-celery==0.44b0.dev\",\n    },\n    {\n        \"library\": \"confluent-kafka >= 1.8.2, <= 2.2.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-confluent-kafka==0.44b0.dev\",\n    },\n    {\n        \"library\": \"django >= 1.10\",\n        \"instrumentation\": \"opentelemetry-instrumentation-django==0.44b0.dev\",\n    },\n    {\n        \"library\": \"elasticsearch >= 2.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-elasticsearch==0.44b0.dev\",\n    },\n    {\n        \"library\": \"falcon >= 1.4.1, < 3.1.2\",\n        \"instrumentation\": \"opentelemetry-instrumentation-falcon==0.44b0.dev\",\n    },\n    {\n        \"library\": \"fastapi ~= 0.58\",\n        \"instrumentation\": \"opentelemetry-instrumentation-fastapi==0.44b0.dev\",\n    },\n    {\n        \"library\": \"werkzeug < 3.0.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-flask==0.44b0.dev\",\n    },\n    {\n        \"library\": \"flask >= 1.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-flask==0.44b0.dev\",\n    },\n    {\n        \"library\": \"grpcio ~= 1.27\",\n        \"instrumentation\": \"opentelemetry-instrumentation-grpc==0.44b0.dev\",\n    },\n    {\n        \"library\": \"httpx >= 0.18.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-httpx==0.44b0.dev\",\n    },\n    {\n        \"library\": \"jinja2 >= 2.7, < 4.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-jinja2==0.44b0.dev\",\n    },\n    {\n        \"library\": \"kafka-python >= 2.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-kafka-python==0.44b0.dev\",\n    },\n    {\n        \"library\": \"mysql-connector-python ~= 8.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-mysql==0.44b0.dev\",\n    },\n    {\n        \"library\": \"mysqlclient < 3\",\n        \"instrumentation\": \"opentelemetry-instrumentation-mysqlclient==0.44b0.dev\",\n    },\n    {\n        \"library\": \"pika >= 0.12.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-pika==0.44b0.dev\",\n    },\n    {\n        \"library\": \"psycopg2 >= 2.7.3.1\",\n        \"instrumentation\": \"opentelemetry-instrumentation-psycopg2==0.44b0.dev\",\n    },\n    {\n        \"library\": \"pymemcache >= 1.3.5, < 5\",\n        \"instrumentation\": \"opentelemetry-instrumentation-pymemcache==0.44b0.dev\",\n    },\n    {\n        \"library\": \"pymongo >= 3.1, < 5.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-pymongo==0.44b0.dev\",\n    },\n    {\n        \"library\": \"PyMySQL < 2\",\n        \"instrumentation\": \"opentelemetry-instrumentation-pymysql==0.44b0.dev\",\n    },\n    {\n        \"library\": \"pyramid >= 1.7\",\n        \"instrumentation\": \"opentelemetry-instrumentation-pyramid==0.44b0.dev\",\n    },\n    {\n        \"library\": \"redis >= 2.6\",\n        \"instrumentation\": \"opentelemetry-instrumentation-redis==0.44b0.dev\",\n    },\n    {\n        \"library\": \"remoulade >= 0.50\",\n        \"instrumentation\": \"opentelemetry-instrumentation-remoulade==0.44b0.dev\",\n    },\n    {\n        \"library\": \"requests ~= 2.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-requests==0.44b0.dev\",\n    },\n    {\n        \"library\": \"scikit-learn ~= 0.24.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-sklearn==0.44b0.dev\",\n    },\n    {\n        \"library\": \"sqlalchemy\",\n        \"instrumentation\": \"opentelemetry-instrumentation-sqlalchemy==0.44b0.dev\",\n    },\n    {\n        \"library\": \"starlette ~= 0.13.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-starlette==0.44b0.dev\",\n    },\n    {\n        \"library\": \"psutil >= 5\",\n        \"instrumentation\": \"opentelemetry-instrumentation-system-metrics==0.44b0.dev\",\n    },\n    {\n        \"library\": \"tornado >= 5.1.1\",\n        \"instrumentation\": \"opentelemetry-instrumentation-tornado==0.44b0.dev\",\n    },\n    {\n        \"library\": \"tortoise-orm >= 0.17.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-tortoiseorm==0.44b0.dev\",\n    },\n    {\n        \"library\": \"pydantic >= 1.10.2\",\n        \"instrumentation\": \"opentelemetry-instrumentation-tortoiseorm==0.44b0.dev\",\n    },\n    {\n        \"library\": \"urllib3 >= 1.0.0, < 3.0.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-urllib3==0.44b0.dev\",\n    },\n]\ndefault_instrumentations = [\n    \"opentelemetry-instrumentation-aws-lambda==0.44b0.dev\",\n    \"opentelemetry-instrumentation-dbapi==0.44b0.dev\",\n    \"opentelemetry-instrumentation-logging==0.44b0.dev\",\n    \"opentelemetry-instrumentation-sqlite3==0.44b0.dev\",\n    \"opentelemetry-instrumentation-urllib==0.44b0.dev\",\n    \"opentelemetry-instrumentation-wsgi==0.44b0.dev\",\n]\n", "path": "opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py"}, {"content": "# Copyright The OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\n_instruments = (\"confluent-kafka >= 1.8.2, <= 2.2.0\",)\n", "path": "instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py"}], "after_files": [{"content": "# Copyright The OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# DO NOT EDIT. THIS FILE WAS AUTOGENERATED FROM INSTRUMENTATION PACKAGES.\n# RUN `python scripts/generate_instrumentation_bootstrap.py` TO REGENERATE.\n\nlibraries = [\n    {\n        \"library\": \"aio_pika >= 7.2.0, < 10.0.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-aio-pika==0.44b0.dev\",\n    },\n    {\n        \"library\": \"aiohttp ~= 3.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-aiohttp-client==0.44b0.dev\",\n    },\n    {\n        \"library\": \"aiohttp ~= 3.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-aiohttp-server==0.44b0.dev\",\n    },\n    {\n        \"library\": \"aiopg >= 0.13.0, < 2.0.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-aiopg==0.44b0.dev\",\n    },\n    {\n        \"library\": \"asgiref ~= 3.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-asgi==0.44b0.dev\",\n    },\n    {\n        \"library\": \"asyncpg >= 0.12.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-asyncpg==0.44b0.dev\",\n    },\n    {\n        \"library\": \"boto~=2.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-boto==0.44b0.dev\",\n    },\n    {\n        \"library\": \"boto3 ~= 1.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-boto3sqs==0.44b0.dev\",\n    },\n    {\n        \"library\": \"botocore ~= 1.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-botocore==0.44b0.dev\",\n    },\n    {\n        \"library\": \"cassandra-driver ~= 3.25\",\n        \"instrumentation\": \"opentelemetry-instrumentation-cassandra==0.44b0.dev\",\n    },\n    {\n        \"library\": \"scylla-driver ~= 3.25\",\n        \"instrumentation\": \"opentelemetry-instrumentation-cassandra==0.44b0.dev\",\n    },\n    {\n        \"library\": \"celery >= 4.0, < 6.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-celery==0.44b0.dev\",\n    },\n    {\n        \"library\": \"confluent-kafka >= 1.8.2, <= 2.3.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-confluent-kafka==0.44b0.dev\",\n    },\n    {\n        \"library\": \"django >= 1.10\",\n        \"instrumentation\": \"opentelemetry-instrumentation-django==0.44b0.dev\",\n    },\n    {\n        \"library\": \"elasticsearch >= 2.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-elasticsearch==0.44b0.dev\",\n    },\n    {\n        \"library\": \"falcon >= 1.4.1, < 3.1.2\",\n        \"instrumentation\": \"opentelemetry-instrumentation-falcon==0.44b0.dev\",\n    },\n    {\n        \"library\": \"fastapi ~= 0.58\",\n        \"instrumentation\": \"opentelemetry-instrumentation-fastapi==0.44b0.dev\",\n    },\n    {\n        \"library\": \"werkzeug < 3.0.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-flask==0.44b0.dev\",\n    },\n    {\n        \"library\": \"flask >= 1.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-flask==0.44b0.dev\",\n    },\n    {\n        \"library\": \"grpcio ~= 1.27\",\n        \"instrumentation\": \"opentelemetry-instrumentation-grpc==0.44b0.dev\",\n    },\n    {\n        \"library\": \"httpx >= 0.18.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-httpx==0.44b0.dev\",\n    },\n    {\n        \"library\": \"jinja2 >= 2.7, < 4.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-jinja2==0.44b0.dev\",\n    },\n    {\n        \"library\": \"kafka-python >= 2.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-kafka-python==0.44b0.dev\",\n    },\n    {\n        \"library\": \"mysql-connector-python ~= 8.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-mysql==0.44b0.dev\",\n    },\n    {\n        \"library\": \"mysqlclient < 3\",\n        \"instrumentation\": \"opentelemetry-instrumentation-mysqlclient==0.44b0.dev\",\n    },\n    {\n        \"library\": \"pika >= 0.12.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-pika==0.44b0.dev\",\n    },\n    {\n        \"library\": \"psycopg2 >= 2.7.3.1\",\n        \"instrumentation\": \"opentelemetry-instrumentation-psycopg2==0.44b0.dev\",\n    },\n    {\n        \"library\": \"pymemcache >= 1.3.5, < 5\",\n        \"instrumentation\": \"opentelemetry-instrumentation-pymemcache==0.44b0.dev\",\n    },\n    {\n        \"library\": \"pymongo >= 3.1, < 5.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-pymongo==0.44b0.dev\",\n    },\n    {\n        \"library\": \"PyMySQL < 2\",\n        \"instrumentation\": \"opentelemetry-instrumentation-pymysql==0.44b0.dev\",\n    },\n    {\n        \"library\": \"pyramid >= 1.7\",\n        \"instrumentation\": \"opentelemetry-instrumentation-pyramid==0.44b0.dev\",\n    },\n    {\n        \"library\": \"redis >= 2.6\",\n        \"instrumentation\": \"opentelemetry-instrumentation-redis==0.44b0.dev\",\n    },\n    {\n        \"library\": \"remoulade >= 0.50\",\n        \"instrumentation\": \"opentelemetry-instrumentation-remoulade==0.44b0.dev\",\n    },\n    {\n        \"library\": \"requests ~= 2.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-requests==0.44b0.dev\",\n    },\n    {\n        \"library\": \"scikit-learn ~= 0.24.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-sklearn==0.44b0.dev\",\n    },\n    {\n        \"library\": \"sqlalchemy\",\n        \"instrumentation\": \"opentelemetry-instrumentation-sqlalchemy==0.44b0.dev\",\n    },\n    {\n        \"library\": \"starlette ~= 0.13.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-starlette==0.44b0.dev\",\n    },\n    {\n        \"library\": \"psutil >= 5\",\n        \"instrumentation\": \"opentelemetry-instrumentation-system-metrics==0.44b0.dev\",\n    },\n    {\n        \"library\": \"tornado >= 5.1.1\",\n        \"instrumentation\": \"opentelemetry-instrumentation-tornado==0.44b0.dev\",\n    },\n    {\n        \"library\": \"tortoise-orm >= 0.17.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-tortoiseorm==0.44b0.dev\",\n    },\n    {\n        \"library\": \"pydantic >= 1.10.2\",\n        \"instrumentation\": \"opentelemetry-instrumentation-tortoiseorm==0.44b0.dev\",\n    },\n    {\n        \"library\": \"urllib3 >= 1.0.0, < 3.0.0\",\n        \"instrumentation\": \"opentelemetry-instrumentation-urllib3==0.44b0.dev\",\n    },\n]\ndefault_instrumentations = [\n    \"opentelemetry-instrumentation-aws-lambda==0.44b0.dev\",\n    \"opentelemetry-instrumentation-dbapi==0.44b0.dev\",\n    \"opentelemetry-instrumentation-logging==0.44b0.dev\",\n    \"opentelemetry-instrumentation-sqlite3==0.44b0.dev\",\n    \"opentelemetry-instrumentation-urllib==0.44b0.dev\",\n    \"opentelemetry-instrumentation-wsgi==0.44b0.dev\",\n]\n", "path": "opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py"}, {"content": "# Copyright The OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\n_instruments = (\"confluent-kafka >= 1.8.2, <= 2.3.0\",)\n", "path": "instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py"}]}