It would be nice if SpanBuilder had the same setAttribute(AttributeKey<Long> key, int value) convenience method as Span:
|
default Span setAttribute(AttributeKey<Long> key, int value) { |
|
return setAttribute(key, (long) value); |
|
} |
Reactions are currently unavailable
It would be nice if SpanBuilder had the same setAttribute(AttributeKey<Long> key, int value) convenience method as Span:
opentelemetry-java/api/all/src/main/java/io/opentelemetry/api/trace/Span.java
Lines 169 to 171 in 6c0d140