-
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
base: main
Are you sure you want to change the base?
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! |
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.