googleapis / googleapis/google-cloud-java

[java-logging-logback] JsonPayload customization

Aperta
#12,009 1 commento 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

We have a requirement to include custom fields in the Cloud Logging JsonPayload, in our case used by our datadog log sink integration for filtering and billing attribution of dataflow job logs.

In the current LoggingAppender implementation the JsonPayload is not modifiable and is already set on the LogEntry.Builder before invoking LoggingEnhancer.

When using Cloud Logging client directly we can build the custom JsonPayload.

Feature request to allow JsonPayload modification either via LoggingEnhancer or Logback encoder or some other mechanism.

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.