Problem:
We would like to log the Instana Trace ID in our application. How can we get the Trace ID with the SDK?
Solution:
You can log the Instana Trace ID in your application using Instana Java Trace SDK as below:
https://github.com/instana/instana-java-sdk/blob/master/instana-java-sdk/src/main/java/com/instana/sdk/support/SpanSupport.java#L106
Comments