Might be useful to look at how Micrometer handles it (they’re like a Log4j for
observability things):
https://micrometer.io/docs/tracing
https://micrometer.io/docs/observation
And this might be more useful for the thread-context question:
https://micrometer.io/docs/contextPropagation
> On Jun 8,
At work we use the ThreadContextMap in a manner similar to what is shown in
Log4j-Audit - We use Filters/Interceptors to inject data into the
ThreadContextMap when a request is received/consumed and inject the data as
headers on outbound calls or publishing.
We are now looking at integrating s