iansmith / parigot

Develop as a monolith, deploy as microservices.
https://parigot.info
BSD 3-Clause "New" or "Revised" License
12 stars 1 forks source link

Call id propagation #6

Open iansmith opened 1 year ago

iansmith commented 1 year ago

Currently, we are not passing the call id to every place that it needs to go. A call id should be generated the initial call site (in a client) and then pushed (via the pctx) to all downstream calls. This data needs to also be added to the LogRequest so that all log messages have the call id on them.

Further, the log viewer application should probably do bookkeeping to keep all the calls in a particular chain (sharing the same call id) are grouped together.