-
Notifications
You must be signed in to change notification settings - Fork 821
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
feat: implement HostDetector #2921
Conversation
Thanks @rauno56 , The Do you think it should be hosted in core repo or contrib detectors? |
612489d
to
3d2a656
Compare
If it does, so do |
3d2a656
to
912e046
Compare
Sounds reasonable 👍 |
Codecov Report
@@ Coverage Diff @@
## main #2921 +/- ##
==========================================
- Coverage 91.85% 91.81% -0.04%
==========================================
Files 176 70 -106
Lines 5573 2017 -3556
Branches 1209 441 -768
==========================================
- Hits 5119 1852 -3267
+ Misses 454 165 -289
|
Another question is whether it needs to be a separate detector in the first place. |
I guess people might not always want all the attributes and separating them into different detectors can help use just the attributes needed. |
Current SDK uses an utility for that.
I agree, but that might also happen among attributes detected from a single detector. One might only care about PID from the |
Yeah, good points. Might be worth thinking about how to offer such capabilities in the future. |
Hmm... changing changelog manually creates a situation with a lot of conflict resolution. I now finally understand the benefit of changefiles. |
Which problem is this PR solving?
There's currently no detector for
host.*
resource attributes.Short description of the changes
Added a new detector for detecting host attributes which are not cloud-based:
host.name
andhost.arch
.Type of change
How Has This Been Tested?
Checklist: