Skip to content

Conversation

@harrryr
Copy link
Contributor

@harrryr harrryr commented Feb 7, 2025

Issue #, if available:
ADOT SDK resource detectors by default have enabled a few AWS resource detector which will call EC2 metadata API endpoints. These activities have been captured by auto-instrumentation and generated AppSignals metrics.

Description of changes:
Suppress AwsSpanMetricsProcessor from generating metrics when the RemoteService points to 169.254.169.254

Testing:
Tested using Java Adot: aws-observability/aws-otel-java-instrumentation#1015

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@harrryr harrryr requested a review from a team as a code owner February 7, 2025 18:17
@harrryr harrryr force-pushed the ec2-metadata-api-span-remove branch from 50f8189 to 3daa168 Compare February 7, 2025 18:42
@harrryr harrryr force-pushed the ec2-metadata-api-span-remove branch from 3daa168 to fad2e58 Compare February 7, 2025 18:43
@harrryr harrryr force-pushed the ec2-metadata-api-span-remove branch from 289edb9 to 6b31ef6 Compare February 11, 2025 00:05
@harrryr harrryr merged commit 7a766a8 into aws-observability:main Feb 13, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants