Uses of Record Class
codes.grow.packages.skywalking.tracing.query.Span
Packages that use Span
Package
Description
Grow Codes SDK for Apache SkyWalking.
-
Uses of Span in codes.grow.packages.skywalking
Methods in codes.grow.packages.skywalking that return SpanModifier and TypeMethodDescriptionNativeSpan.toSpan()Converts to the SPEC model: trace id verbatim; span id<segmentId>-<spanId>; the parent is the same segment's parent span whenparentSpanId >= 0, elserefs[0]; further refs become links (attributesw.ref_type); kind Entry → server, Exit → client, Local → internal (other: unspecified); name = endpoint name; times ms → µs; status error whenisError; attributes = tags plussw.component,sw.layer,sw.peer,sw.service_instance(when set); span logs become events (name = theeventvalue, elselog).ZipkinSpan.toSpan()Converts to the SPEC model: ids lower-case (trace id padded to 32), kind lower-case (absent → internal, unknown → unspecified), service =localEndpoint.serviceName, status fromotel.status_code(STATUS_CODE_ERROR→ error withotel.status_description,STATUS_CODE_OK→ ok, anerrortag alone → error), attributes = tags without the bookkeeping tags, annotations → events. -
Uses of Span in codes.grow.packages.skywalking.testing.tracing
Methods in codes.grow.packages.skywalking.testing.tracing that return SpanModifier and TypeMethodDescriptionstatic SpanSpanDataConverter.toSpan(io.opentelemetry.sdk.trace.data.SpanData data) Converts one span.Constructor parameters in codes.grow.packages.skywalking.testing.tracing with type arguments of type SpanModifierConstructorDescriptionInMemoryTraceQueryClient(Supplier<List<Span>> source) Reads normalized spans from a supplier. -
Uses of Span in codes.grow.packages.skywalking.tracing.query
Methods in codes.grow.packages.skywalking.tracing.query that return SpanModifier and TypeMethodDescriptionSpan.Builder.build()Builds the span.SpanNode.span()Returns the value of thespanrecord component.static SpanTraceJson.spanFromJson(com.fasterxml.jackson.databind.JsonNode node) Parses a span from a Jackson tree.static SpanTraceJson.spanFromJson(String json) Parses a span.Methods in codes.grow.packages.skywalking.tracing.query that return types with arguments of type SpanModifier and TypeMethodDescriptionTrace.root()The first root span (no parent, or a parent outside the trace).Sorts spans bystartMicros, thenspanId.Trace.spans()Returns the value of thespansrecord component.Trace.spansNamed(String name) Spans with a given name.Methods in codes.grow.packages.skywalking.tracing.query with parameters of type SpanMethod parameters in codes.grow.packages.skywalking.tracing.query with type arguments of type SpanModifier and TypeMethodDescriptionBuilds the span tree.Sorts spans bystartMicros, thenspanId.Constructors in codes.grow.packages.skywalking.tracing.query with parameters of type SpanConstructor parameters in codes.grow.packages.skywalking.tracing.query with type arguments of type Span