googleapis / googleapis/google-cloud-java

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

Đang mở
#11,917 0 bình luận 0 reaction 1 người được giao Được @cindy-peng nhận Xem trên GitHub
api: logging priority: p3
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

**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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.