googleapis / googleapis/google-cloud-java

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

Aperta
#11,917 0 commenti 0 reazioni 1 assegnatario Rivendicata da @cindy-peng Vedi su GitHub
api: logging priority: p3
Lingua principale
Java
Stelle
2.1k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
154

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.