3 ms·
I’d add to no. 1 by saying include a correlation id or request id so you have a way to filter the logs into a single linear stream related to the same action.
by dkersten 6y ago
I’d add to no. 1 by saying include a correlation id or request id so you have a way to filter the logs into a single linear stream related to the same action.
- jrott 6y agoAbsolutely constantly being able to get a single linear stream is when tracing becomes super powerful.
- Bombthecat 6y agoAlso adding a context tag can very powerful, especially in times of Microservices and some kind of event driven stuff like monthly payments. Imagine: user registers, the post gets and id, and context registering. Then he adds a credit card. (a new id, context credit payments) after 14 days the bill goes out, same id, same context.