Skip to content

Commit 8b8a79f

Browse files
committed
update comments
1 parent 0a50295 commit 8b8a79f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.flake8

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ exclude =
2626
mock_collector_service_pb2_grpc.py
2727
lambda-layer/terraform/lambda/.terraform
2828
lambda-layer/sample-apps/build
29-
samples

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_fastapi_patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def _apply_fastapi_instrumentation_patches() -> None:
1414
1515
Applies patches to provide code attributes support for FastAPI instrumentation.
1616
This patches the Flask instrumentation to automatically add code attributes
17-
to spans by decorating view functions with current_span_code_attributes.
17+
to spans by decorating view functions with record_code_attributes.
1818
"""
1919
if get_code_correlation_enabled_status() is True:
2020
_apply_fastapi_code_attributes_patch()

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_flask_patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def _apply_flask_instrumentation_patches() -> None:
1414
1515
Applies patches to provide code attributes support for Flask instrumentation.
1616
This patches the Flask instrumentation to automatically add code attributes
17-
to spans by decorating view functions with current_span_code_attributes.
17+
to spans by decorating view functions with record_code_attributes.
1818
"""
1919
if get_code_correlation_enabled_status() is True:
2020
_apply_flask_code_attributes_patch()

0 commit comments

Comments
 (0)