Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

container_name and namespace_id not getting populated in container logs #2487

Open
Tritpi opened this issue Aug 12, 2020 · 3 comments
Open
Labels

Comments

@Tritpi
Copy link

Tritpi commented Aug 12, 2020

The container_name and namespace_id are not getting populated in the container logs. The library used is spring_cloud_gcp_starter_logging for stackdriver logs.

@elefeint
Copy link
Contributor

Related to #2479 for monitoring. Might point to broader need for Kubernetes support in spring-cloud-gcp-core.

@Tritpi
Copy link
Author

Tritpi commented Aug 13, 2020

The logs we are trying to get these fields populated are in the gke_container logs and not the k8s_container logs. I could see that there is an open issue https://issuetracker.google.com/145137070 for this. Please confirm if there is any progress made here.

@meltsufin
Copy link
Contributor

@Tritpi Are you using API logging or JSON logging?
I believe such fields should be populated by the platform (GKE), but I might be wrong about that.

cc/ @igorpeshansky

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

3 participants