Skip to content

Commit c0794dd

Browse files
committed
fix: Change Lambda Resource CFN Primary Id to be Lambda Name
1 parent 831b76b commit c0794dd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/_aws_metric_attribute_generator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,6 @@ def _set_remote_type_and_identifier(span: ReadableSpan, attributes: BoundedAttri
460460
elif is_key_present(span, AWS_LAMBDA_FUNCTION_NAME):
461461
remote_resource_type = _NORMALIZED_LAMBDA_SERVICE_NAME + "::Function"
462462
remote_resource_identifier = _escape_delimiters(span.attributes.get(AWS_LAMBDA_FUNCTION_NAME))
463-
cloudformation_primary_identifier = _escape_delimiters(span.attributes.get(AWS_LAMBDA_FUNCTION_ARN))
464463
elif is_db_span(span):
465464
remote_resource_type = _DB_CONNECTION_STRING_TYPE
466465
remote_resource_identifier = _get_db_connection(span)

0 commit comments

Comments
 (0)