Skip to content

Commit 98b00b3

Browse files
committed
Utilize instruments_either in fastapi, kafka, and psycopg2
1 parent b74633a commit 98b00b3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

instrumentation/opentelemetry-instrumentation-fastapi/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ dependencies = [
3333
]
3434

3535
[project.optional-dependencies]
36-
instruments = [
36+
instruments_either = [
3737
"fastapi ~= 0.92",
38+
"fastapi-slim ~= 0.92",
3839
]
3940

4041
[project.entry-points.opentelemetry_instrumentor]

instrumentation/opentelemetry-instrumentation-kafka-python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies = [
3131
]
3232

3333
[project.optional-dependencies]
34-
instruments = [
34+
instruments_either = [
3535
"kafka-python >= 2.0, < 3.0",
3636
"kafka-python-ng >= 2.0, < 3.0"
3737
]

instrumentation/opentelemetry-instrumentation-psycopg2/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies = [
3131
]
3232

3333
[project.optional-dependencies]
34-
instruments = [
34+
instruments_either = [
3535
"psycopg2 >= 2.7.3.1",
3636
"psycopg2-binary >= 2.7.3.1",
3737
]

0 commit comments

Comments
 (0)