googleapis / googleapis/google-cloud-java

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

Open
#11,917 0 comments 0 reactions 1 assignee Claimed by @cindy-peng View on GitHub
api: logging priority: p3
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.