Uses of Interface
com.google.cloud.datastore.telemetry.TraceUtil.Span
Packages that use TraceUtil.Span
-
Uses of TraceUtil.Span in com.google.cloud.datastore.telemetry
Methods in com.google.cloud.datastore.telemetry that return TraceUtil.SpanModifier and TypeMethodDescriptionAdds the given event to this span.Adds the given event with the given attributes to this span.DisabledTraceUtil.getCurrentSpan()EnabledTraceUtil.getCurrentSpan()TraceUtil.getCurrentSpan()Returns the current span.TraceUtil.Span.setAttribute(String key, boolean value) Adds the given attribute to this span.TraceUtil.Span.setAttribute(String key, int value) Adds the given attribute to this span.TraceUtil.Span.setAttribute(String key, String value) Adds the given attribute to this span.DisabledTraceUtil.startSpan(String spanName, TraceUtil.Span parentSpan) EnabledTraceUtil.startSpan(String spanName, TraceUtil.Span parentSpan) Starts a new span with the given name, sets it as the current span, and returns it.TraceUtil.startSpan(String spanName, TraceUtil.Span parentSpan) Starts a new span with the given name and the span represented by the parentSpan as its parent, sets it as the current span and returns it.Methods in com.google.cloud.datastore.telemetry with parameters of type TraceUtil.SpanModifier and TypeMethodDescriptionDisabledTraceUtil.startSpan(String spanName, TraceUtil.Span parentSpan) EnabledTraceUtil.startSpan(String spanName, TraceUtil.Span parentSpan) TraceUtil.startSpan(String spanName, TraceUtil.Span parentSpan) Starts a new span with the given name and the span represented by the parentSpan as its parent, sets it as the current span and returns it.