We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3afaf35 commit 0eb5c82Copy full SHA for 0eb5c82
sdk/trace/src/main/java/io/opentelemetry/sdk/trace/internal/ExtendedIdGenerator.java
@@ -20,5 +20,8 @@ public interface ExtendedIdGenerator extends IdGenerator {
20
* Returns {@code true} if the {@link IdGenerator} returns trace IDs with the right-most 7 bytes
21
* being random.
22
*/
23
- boolean randomTraceId();
+ default boolean randomTraceId() {
24
+ // Assume IDs are random since in practice, they are.
25
+ return true;
26
+ }
27
}
0 commit comments