We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cddc85b commit 97b5fc9Copy full SHA for 97b5fc9
dd-trace-core/src/main/java/datadog/trace/core/otlp/trace/OtlpTraceProto.java
@@ -126,7 +126,7 @@ public static byte[] recordSpanMessage(
126
}
127
128
writeTag(buf, 6, VARINT_WIRE_TYPE);
129
- writeVarInt(buf, spanKind((CharSequence) span.getTag(SPAN_KIND)));
+ writeVarInt(buf, spanKind(span.context().getSpanKindString()));
130
131
writeTag(buf, 7, I64_WIRE_TYPE);
132
writeI64(buf, span.getStartTime());
0 commit comments