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

[processor/resourcedetection] Add fail_on_missing_metadata to EC2 detector #37453

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Jan 23, 2025

Description

Add fail_on_missing_metadata option on EC2 detector

If the EC2 metadata endpoint is unavailable, the EC2 detector by default ignores the error.
By setting fail_on_missing_metadata to true on the detector, the user will now trigger an error explicitly,
which will stop the collector from starting.

Link to tracking issue

Relates to #35936

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.

2 participants