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

gcp.gce: Add instance group name #905

Open
punya opened this issue Apr 8, 2024 · 2 comments
Open

gcp.gce: Add instance group name #905

punya opened this issue Apr 8, 2024 · 2 comments

Comments

@punya
Copy link
Member

punya commented Apr 8, 2024

Area(s)

area:gcp

Is your change request related to a problem? Please describe.

On GCE, instance groups can be used to organize the configuration and lifecycle of multiple VM instances as a single entity. I'd like to associate the instance group name with telemetry from its individual instances to help with grouping, in the same way that a cluster or namespace helps to group k8s pods.

Describe the solution you'd like

A new attribute gcp.gce.instance.group that is optionally populated on GCP instances. It can be retrieved as the value of the created-by instance metadata field.

Describe alternatives you've considered

  • Fetching instance group at query time -- doesn't work if the instance no longer exists
  • Using a label or naming convention -- fragile

Additional context

No response

@joaopgrassi
Copy link
Member

joaopgrassi commented Jul 9, 2024

This would be a resource attribute, right? @punya do you plan to work/submit a PR for starting a discussion on it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants