Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

quentinmit
Copy link
Contributor

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.

@quentinmit quentinmit requested a review from a team as a code owner November 1, 2024 20:08
@github-actions github-actions bot added the processor/resourcedetection Resource detection processor label Nov 1, 2024
@dashpole
Copy link
Contributor

dashpole commented Nov 1, 2024

I'll be OOO for a few weeks, and might not be able to get to this right away

Copy link
Contributor

@dashpole dashpole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good otherwise

@dashpole
Copy link
Contributor

Looks like this needs a changelog

Copy link
Contributor

github-actions bot commented Dec 4, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Dec 4, 2024
@quentinmit
Copy link
Contributor Author

Not stale, just blocked on the final names for the attributes.

@github-actions github-actions bot removed the Stale label Dec 10, 2024
@quentinmit
Copy link
Contributor Author

Looks like this needs a changelog

Alright, I think the naming is unblocked (we switched to underscores after discussing this at the Entity SIG). PTAL again and thanks!

@dashpole dashpole added the ready to merge Code review completed; ready to merge by maintainers label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/resourcedetection Resource detection processor ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants