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
Include instance labels in COMPUTE_CONSTANTS for Google Compute Engine #193
Comments
hello?? Anyone there? |
Hi @eastlondoner, |
@qingling128 It doesn't happen today.
|
@qingling128 perhaps you could show me the place in the code of this plugin where the labels are attached? |
I see. The client side agent only associate logs with the monitored resource defined here. It comes with minimum set of labels to identify the resource. Metadata is ingested at the backend. To support that, we need to file a feature request with the backend to add additional metadata for Alternatively, there are a few ways to set the labels that are documented here. |
the alternatives are basically impossible with GKE. As a GKE user we have not got access to the fluentd configuration on the agent. |
Labels (more precisely, pod and node annotations) are already ingested on GKE with the beta monitoring experience. @qingling128's comment was specifically about GCE. |
Yeah, it sounded like the request was about GCE. If it's for GKE, those labels should have been handled already. |
@igorpeshansky pod and node annotations are not the same thing as GCE labels |
@qingling128 is there anything left to do here? |
This is a feature suggestion:
GCE allows administrators to apply resource labels.
One of the main reasons for using labels is to create arbitrary groupings of resources.
It would be really great if the resource labels for a compute instance were automatically included in the Stackdriver logs for that instance so users could easily search for all logs from instances with a particular label.
The text was updated successfully, but these errors were encountered: