BFergerson edited a comment on pull request #118: URL: https://github.com/apache/skywalking-java/pull/118#issuecomment-1059885797
I mean it would be nice to have reproducible ids. So no matter how many times I run SkyWalking, it always returns the same segments/trace ids as long as I do exactly the same processing. As far as I know, this is called "reproducible random". I hacked it together like this https://github.com/BFergerson/skywalking-java/commit/310c097bd1450b076dd14446eb01ec07dbae3ab0, but it could be done smarter. This made it easy to debug since segment/trace ids always started at 1 and incremented each time I debugged. Eventually, I realized each span was getting a new segment/trace id and that was the problem to solve. When I had it fixed, the trace ids were all the same number. It might make sense to use a reproducible random for test scenarios so you could validate the expected segment/trace ids. Just a thought. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org