File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ()
Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments