Expose isSampled on TraceContext; fixes gh-1799

This commit is contained in:
Marcin Grzejszczak
2020-12-10 10:19:40 +01:00
parent 0c91065996
commit d547386cb5
4 changed files with 20 additions and 0 deletions

View File

@@ -45,4 +45,9 @@ public interface TraceContext {
*/
String spanId();
/**
* @return {@code true} when sampled
*/
boolean isSampled();
}