Skip to content

Commit eea6145

Browse files
committed
remove fastapi change
1 parent 7a23085 commit eea6145

File tree

3 files changed

+2
-8
lines changed
  • instrumentation
    • opentelemetry-instrumentation-fastapi
    • opentelemetry-instrumentation-psycopg2/src/opentelemetry/instrumentation/psycopg2

3 files changed

+2
-8
lines changed

instrumentation/opentelemetry-instrumentation-fastapi/pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ dependencies = [
3333
]
3434

3535
[project.optional-dependencies]
36-
instruments = []
37-
instruments-any = [
36+
instruments = [
3837
"fastapi ~= 0.92",
39-
"fastapi-slim ~= 0.92",
4038
]
4139

4240
[project.entry-points.opentelemetry_instrumentor]

instrumentation/opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi/package.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
# limitations under the License.
1414

1515

16-
# TODO: update this
17-
_instruments = ()
18-
_instruments_any = ("fastapi ~= 0.92", "fastapi-slim ~= 0.92")
16+
_instruments = ("fastapi ~= 0.92",)
1917

2018
_supports_metrics = True
2119

instrumentation/opentelemetry-instrumentation-psycopg2/src/opentelemetry/instrumentation/psycopg2/package.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@
1313
# limitations under the License.
1414

1515

16-
# TODO: where are these used?
1716
_instruments_psycopg2 = "psycopg2 >= 2.7.3.1"
1817
_instruments_psycopg2_binary = "psycopg2-binary >= 2.7.3.1"
1918

20-
# TODO: maybe add _instruments_any
2119
_instruments = ()
2220
_instruments_any = (
2321
_instruments_psycopg2,

0 commit comments

Comments
 (0)