4 ms·
Sorry if it is a stupid idea, but cannot you log all messages to a separate file for each test (or attach test id to the messages)? Then if the test fails, you
by codedokode 2y ago
Sorry if it is a stupid idea, but cannot you log all messages to a separate file for each test (or attach test id to the messages)? Then if the test fails, you can see where the error occured.
- msoad 2y agoWhere I work there are 1,500 microservices. How do I get a log of all of those services -- only related to my test's requests in a file? I know there are solutions for this, but in the real world I have not seen it properly implemented.
- ergeysay 2y agoAs you said, OpenTelemetry and friends can help. I had great success with these. I am curious, what were implementation issues you have encountered?
- antonvs 2y agoThis works easily enough in the major cloud environments, since logging tends to be automatic and centralized. The only thing you need to do is make sure that a common request id or similar propagates to all the services, which is not that difficult.