Skip to content

Commit

Permalink
Add exporter data classes for experimental profiling signal type.
Browse files Browse the repository at this point in the history
Changes addressing code review comments.
  • Loading branch information
jhalliday committed May 17, 2024
1 parent 087ce89 commit a84e2f9
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ public interface LinkData {
*/
String getTraceId();

/** Returns the trace identifier as 16-byte array. */
default byte[] getTraceIdBytes() {
return OtelEncodingUtils.bytesFromBase16(getTraceId(), TraceId.getLength());
}

/** Returns a unique identifier for the linked span, as 16 character lowercase hex String. */
String getSpanId();

/** Returns a unique identifier for the linked span, as an 8-byte array. */
default byte[] getSpanIdBytes() {
return OtelEncodingUtils.bytesFromBase16(getSpanId(), SpanId.getLength());
}
}

0 comments on commit a84e2f9

Please sign in to comment.