Skip to content

Commit b66f315

Browse files
Apply suggestions from code review
Co-authored-by: Tammy Baylis <[email protected]>
1 parent f0aa942 commit b66f315

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818

1919
### Added
2020

21-
- `opentelemetry-instrumentation`: teach opentelemetry-instrument about gevent monkeypatching
21+
- `opentelemetry-instrumentation`: add support for `OTEL_PYTHON_AUTO_INSTRUMENTATION_EXPERIMENTAL_GEVENT_PATCH` to inform opentelemetry-instrument about gevent monkeypatching
2222
([#3699](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3699))
2323

2424
## Version 1.36.0/0.57b0 (2025-07-29)

opentelemetry-instrumentation/src/opentelemetry/instrumentation/auto_instrumentation/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def initialize(*, swallow_exceptions: bool = True) -> None:
150150

151151
getattr(monkey, gevent_patch)()
152152
except ImportError:
153-
_logger.error(
154-
"Requested to monkey patch with gevent but gevent is not available"
153+
_logger.exception(
154+
"Failed to monkey patch with gevent because gevent is not available"
155155
)
156156
if not swallow_exceptions:
157157
raise

0 commit comments

Comments
 (0)