File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
opentelemetry-instrumentation/src/opentelemetry/instrumentation Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
12
12
- ` opentelemetry-instrumentation-kafka-python ` Instrument temporary fork, kafka-python-ng
13
13
inside kafka-python's instrumentation
14
- ([ #2537 ] ( https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2537 ) ))
14
+ ([ #2537 ] ( https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2537 ) )
15
15
16
16
## Breaking changes
17
17
18
+ - ` opentelemetry-bootstrap ` Remove ` opentelemetry-instrumentation-aws-lambda ` from the defaults instrumentations
19
+ ([ #2786 ] ( https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2786 ) )
20
+
18
21
## Fixed
19
22
20
23
- ` opentelemetry-instrumentation-fastapi ` fix ` fastapi ` auto-instrumentation by removing ` fastapi-slim ` support, ` fastapi-slim ` itself is discontinued from maintainers
Original file line number Diff line number Diff line change 187
187
]
188
188
default_instrumentations = [
189
189
"opentelemetry-instrumentation-asyncio==0.48b0.dev" ,
190
- "opentelemetry-instrumentation-aws-lambda==0.48b0.dev" ,
191
190
"opentelemetry-instrumentation-dbapi==0.48b0.dev" ,
192
191
"opentelemetry-instrumentation-logging==0.48b0.dev" ,
193
192
"opentelemetry-instrumentation-sqlite3==0.48b0.dev" ,
Original file line number Diff line number Diff line change 53
53
"bootstrap_gen.py" ,
54
54
)
55
55
56
+ # AWS Lambda instrumentation is excluded from the default list because it often
57
+ # requires specific configurations and dependencies that may not be set up
58
+ # in all environments. Instead, users who need AWS Lambda support can opt-in
59
+ # by manually adding it to their environment.
60
+ # See https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2787
61
+ packages_to_exclude = ["opentelemetry-instrumentation-aws-lambda" ]
62
+
56
63
57
64
def main ():
58
65
# pylint: disable=no-member
59
66
default_instrumentations = ast .List (elts = [])
60
67
libraries = ast .List (elts = [])
61
68
for pkg in get_instrumentation_packages ():
69
+ if pkg .get ("name" ) in packages_to_exclude :
70
+ continue
62
71
if not pkg ["instruments" ]:
63
72
default_instrumentations .elts .append (ast .Str (pkg ["requirement" ]))
64
73
for target_pkg in pkg ["instruments" ]:
You can’t perform that action at this time.
0 commit comments