Re:Monitoring demystified: A guide for logging, tracing, met...
by dkersten on Friday July 31, 2020 @07:26AM
(#24007627)
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.
[ Parent
| on HN ]
Re:Monitoring demystified: A guide for logging, tracing, met...
by jrott on Friday July 31, 2020 @10:19AM
(#24008789)
Absolutely constantly being able to get a single linear stream is when tracing becomes super powerful.
Re:Monitoring demystified: A guide for logging, tracing, met...
by Bombthecat on Saturday August 01, 2020 @02:13AM
(#24018098)
Also 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.