File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,12 @@ def _apply_botocore_sns_patch() -> None:
3737 """Botocore instrumentation patch for SNS
3838
3939 This patch extends the existing upstream extension for SNS. Extensions allow for custom
40- logic for adding service-specific information to spans, such as attributes. Specifically, we are adding logic to add
41- the `aws.sns.topic.arn` attribute, to be used to generate AWS_REMOTE_RESOURCE_TYPE and AWS_REMOTE_RESOURCE_IDENTIFIER.
42- There exists SpanAttributes.MESSAGING_DESTINATION_NAME in the upstream logic that we could re-purpose here. However,
43- we are not using it here to maintain consistent naming patterns with other AWS resources.
40+ logic for adding service-specific information to spans, such as attributes.
41+ Specifically, we are adding logic to add the `aws.sns.topic.arn` attribute,
42+ to be used to generate AWS_REMOTE_RESOURCE_TYPE and AWS_REMOTE_RESOURCE_IDENTIFIER.
43+ There exists SpanAttributes.MESSAGING_DESTINATION_NAME in the upstream logic that we could
44+ re-purpose here. However, we are not using it here to maintain consistent naming patterns
45+ with other AWS resources.
4446 """
4547 old_extract_attributes = _SnsExtension .extract_attributes
4648
You can’t perform that action at this time.
0 commit comments