Expose isSampled on TraceContext; fixes gh-1799
This commit is contained in:
@@ -45,4 +45,9 @@ public interface TraceContext {
|
||||
*/
|
||||
String spanId();
|
||||
|
||||
/**
|
||||
* @return {@code true} when sampled
|
||||
*/
|
||||
boolean isSampled();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user