added Undefined span kind
This commit is contained in:
parent
341bbd5ff2
commit
9096974f5f
|
@ -161,6 +161,13 @@ public abstract class Span {
|
|||
* @since 0.1.0
|
||||
*/
|
||||
public enum Kind {
|
||||
/**
|
||||
* Undefined span kind.
|
||||
*
|
||||
* @since 0.1.0
|
||||
*/
|
||||
UNDEFINED,
|
||||
|
||||
/**
|
||||
* Indicates that the span covers server-side handling of an RPC or other remote request.
|
||||
*
|
||||
|
|
|
@ -149,7 +149,7 @@ public abstract class SpanBuilder {
|
|||
* @return this.
|
||||
* @since 0.1.0
|
||||
*/
|
||||
public SpanBuilder setSpanKind(@Nullable Span.Kind spanKind) {
|
||||
public SpanBuilder setSpanKind(Span.Kind spanKind) {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -357,7 +357,7 @@ public abstract class SpanBuilder {
|
|||
}
|
||||
|
||||
@Override
|
||||
public SpanBuilder setSpanKind(@Nullable Span.Kind spanKind) {
|
||||
public SpanBuilder setSpanKind(Span.Kind spanKind) {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue