feat: [Logging] Add resource labels to logs from Cloud Run
Fixes #3699
I've tried to match the labels and resource sections output when logging to stdout as closely as possible. The one thing missing is labels.container_name - I can't figure out where to get that value from.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
@bshaffer Any chance of a review? Many thanks!
@bshaffer nag nag nag I know 😉 but does this stand a chance of making it into a release? It saves me from the truly ugly factories I use for constructing a logging client
Hey @kynx Sorry! I don't know how I missed this. I'll take a look at it this week.
Yay! Thanks @bshaffer !
Thank you for your contribution, @kynx! We will be releasing this early 2025 in the next release.