Class SkyWalkingTraceQueryClient

java.lang.Object
codes.grow.packages.skywalking.SkyWalkingTraceQueryClient
All Implemented Interfaces:
TraceQueryClient

public final class SkyWalkingTraceQueryClient extends Object implements TraceQueryClient
TraceQueryClient for SkyWalking (SPEC section 5) over OAP's two trace stores. OTLP spans (what SkyWalkingTracing.initTracing(codes.grow.packages.skywalking.tracing.TracingConfig) sends) are stored in OAP's Zipkin model and read via the Zipkin query API (:9412/zipkin, needs SW_QUERY_ZIPKIN); SkyWalking agent segments are read via GraphQL. The backend comes from SkyWalkingConfig.traceBackend():
Store per method and backend
methodzipkinnativeauto (default)
getTraceZipkinGraphQL hex id → Zipkin, then GraphQL; other ids → GraphQL
searchTracesZipkinGraphQL queryTracesZipkin
listServices, listOperationsZipkinGraphQL union of both
getDependenciesUnsupportedExceptiontopology topology

Native traces keep their opaque ids (<hex>.<n>.<ms>); native span ids are <segmentId>-<spanId> (see NativeSpan.toSpan()). OAP lower-cases OTLP span names ( GET /checkout → get /checkout). Obtain it from SkyWalkingClient.traces().