-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 support for detecting GCE VMs in Managed Instance Groups #36142
Conversation
I'll be OOO for a few weeks, and might not be able to get to this right away |
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 otherwise
processor/resourcedetectionprocessor/internal/gcp/documentation.md
Outdated
Show resolved
Hide resolved
Looks like this needs a changelog |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Not stale, just blocked on the final names for the attributes. |
6fc73b1
to
028e0fc
Compare
Alright, I think the naming is unblocked (we switched to underscores after discussing this at the Entity SIG). PTAL again and thanks! |
Please rebase, that should fix CI |
#37485 hopefully fixes |
…naged Instance Groups (open-telemetry#36142) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This adds resource detection for the GCE "instance group manager" that created an instance, allowing like VMs to be grouped using a resource attribute. I also have corresponding branches prepared for opentelemetry-go and semantic-conventions <!--Describe what testing was performed and which tests were added.--> #### Testing This PR includes unit tests to validate that the correct resource attributes are added, and I manually tested a collector built with this change on a MIG VM and it generates the expected resource attributes. <!--Describe the documentation added.--> #### Documentation Documented with the other resource attributes in the existing documentation. <!--Please delete paragraphs that you did not use before submitting.--> --------- Co-authored-by: David Ashpole <[email protected]> Co-authored-by: Tyler Helmuth <[email protected]> Co-authored-by: Pablo Baeyens <[email protected]> Co-authored-by: Antoine Toulme <[email protected]> Co-authored-by: Yang Song <[email protected]> Co-authored-by: Sean Marciniak <[email protected]>
Description
This adds resource detection for the GCE "instance group manager" that created an instance, allowing like VMs to be grouped using a resource attribute.
I also have corresponding branches prepared for opentelemetry-go and semantic-conventions
Testing
This PR includes unit tests to validate that the correct resource attributes are added, and I manually tested a collector built with this change on a MIG VM and it generates the expected resource attributes.
Documentation
Documented with the other resource attributes in the existing documentation.