-
Notifications
You must be signed in to change notification settings - Fork 590
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
GCE Resource Detector #132
Conversation
Tested it on GCE environment and got expected results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing! Some initial things we'll need to address before merging:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updates with aggregating multiple errors
Should the |
Update hostname function and separate gcp into a module |
Named this detector GCE detector and plan to implement GKE detector under the same package gcp. |
Optimized error handling part and cleaned go.sum |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, only remaining issue is in hasProblem
. Otherwise, I think this is ready to merge.
@lizthegrey can you take another look?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add this change to the CHANGELOG?
Updated changelog |
@Aneurysm9 Do you have some suggestions for this PR? Thank you. |
Included detectors/gcp in dependabot.yml |
GCE Resource Detector (open-telemetry#132)
This is an vendor implementation of detector.
Refer to open-telemetry/opentelemetry-go#924