Reputation: 4382
I'm migrating my service from spring boot 1.5.2 to 2.0.5. Somewhere in the code i used the following Sleuth's constant
org.springframework.cloud.sleuth.Span.TRACE_ID_NAME
After migration there is no such constant and code doesn't compile. I tried to search for all symbols in the classpath named TRACE_ID_NAME and found only private or package members.
The question is: what is legal replacement for it.
Upvotes: 0
Views: 515
Reputation: 11189
The values are the same. Your can check out Brave's B3 Propagation Factory that contains all the values set up.
Upvotes: 1