googleapis / googleapis/google-cloud-java

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

Offen
#11,917 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @cindy-peng Auf GitHub ansehen
api: logging priority: p3
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.