googleapis / googleapis/google-cloud-java

[java-logging] Getting execution-id / trace in background functions

未关闭
#11,917 0 条评论 0 个 reaction 已指派 1 人 已被 @cindy-peng 认领 在 GitHub 查看
api: logging priority: p3
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
154

描述

**Is your feature request related to a problem? Please describe.**
Logs from background functions are missing `execution_id` labe

**Describe the solution you'd like**
All logs from Background function should have the label, so it's easier to debug.

**Describe alternatives you've considered**
I have tried manually adding the `execution_id`, but it's not available from the `context` parameter.

**Additional context**
It's basically the same thing as in nodejs repository, see [here](https://github.com/googleapis/nodejs-logging/issues/591)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。