Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ec2 scraper attribute drop without describeTags #30672

Merged
merged 9 commits into from
Apr 16, 2024

Conversation

akats7
Copy link
Contributor

@akats7 akats7 commented Jan 19, 2024

Description:
Minor fix to update ec2 scraper to apply successfully extracted ec2 attributes (instanceId, cloud region, etc..) even when describeTags return an error (likely due to permissions). Currently if tags are not able to be extracted, Detect returns an err and detectResource does not apply the remaining attributes.

Link to tracking Issue: N/A

Testing:
Added tests to test usage of describeTags in detect, made minor modification to detector signature to make it testable.

Documentation:

@akats7 akats7 requested a review from a team January 19, 2024 03:25
@github-actions github-actions bot added the processor/resourcedetection Resource detection processor label Jan 19, 2024
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Feb 13, 2024
@akats7
Copy link
Contributor Author

akats7 commented Feb 13, 2024

I’ll add tests.

@github-actions github-actions bot removed the Stale label Feb 14, 2024
Copy link

linux-foundation-easycla bot commented Mar 2, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@akats7 akats7 force-pushed the ec2-scraper-update branch from 0a35cc3 to 6728a41 Compare March 2, 2024 23:31
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Mar 17, 2024
@akats7
Copy link
Contributor Author

akats7 commented Mar 27, 2024

Can we remove the stale label please @Aneurysm9 @dashpole

@dashpole dashpole removed the Stale label Mar 27, 2024
@akats7
Copy link
Contributor Author

akats7 commented Apr 11, 2024

Hey @evan-bradley, are we able to get this merged

@evan-bradley
Copy link
Contributor

@akats7 Sorry for the delay. It looks like we are having some Go module issues right now, once those are resolved I'll update the branch and merge or ping you if I need you to update anything.

@evan-bradley evan-bradley merged commit d85ee14 into open-telemetry:main Apr 16, 2024
170 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/resourcedetection Resource detection processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants