-
Notifications
You must be signed in to change notification settings - Fork 624
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
sdk: Implement basic host resource detector #4182
sdk: Implement basic host resource detector #4182
Conversation
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 your contribution. Added some comments.
@oliver-zhang please setup |
|
Do we want to add this ResourceDetector to the list of entry points here or were you thinking that would be for another PR? |
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.
LGTM -- thanks for doing this. Left a comment about linting.
What should our guidance be for adding in resource detectors that have attributes that are not yet stable in the semantic conventions? Should we be including this as part of the sdk package? I know we might have (mistakenly) added the os resource detector as part of the sdk. Should we place these in contrib for now until sem convs are stable? |
I would be good with adding an underscore |
@lzchen It's done |
Looks like we are good to merge, no? There's a change requested but it looks like it has been addressed. cc @xrmx 🙏 |
Description
This PR will create a resource module in contrib repo which will fetch the host.name,host.arch properties
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Contrib Repo Change?
Checklist: