Package codes.grow.packages.skywalking
package codes.grow.packages.skywalking
Grow Codes SDK for Apache SkyWalking.
Start with SkyWalkingClient.fromEnv().
Shared building blocks live in core (errors, transport, redaction); category APIs in
secrets, logging and tracing; in-memory fakes and the conformance runner
in testing.
-
ClassDescriptionThe GraphQL
Durationinput: bounds in the OAP time zone, formatted per step (DAY yyyy-MM-dd,HOUR yyyy-MM-dd HH,MINUTE yyyy-MM-dd HHmm,SECOND yyyy-MM-dd HHmmss).A window with defaults applied.One entry of a GraphQLerrorsarray.Result of a raw GraphQL call (SkyWalkingClient.graphql(java.lang.String, java.util.Map<java.lang.String, ?>)): partialdatais possible next toerrors.A SkyWalking{key, value}pair (span tags, log tags, span log data); order and duplicates are kept.A log record as OAP stores it (GraphQLqueryLogs).A span as SkyWalking stores it (agents,/v3/segments), read through GraphQL.A log recorded on a native span.Cross-segment parent reference of a native span.A native SkyWalking trace: the spans of every segment.OTLP protocol of the trace exporter.1-based page selection of native trace and log queries.Parsed form of aSkyWalkingLogQueryClientquery: space-separatedkey=valueterms (service=,instance=,endpoint=,trace_id=/traceId=map to the GraphQL condition; any other key is a server tag filter and must be inSW_SEARCHABLE_LOGS_TAG_KEYS) plus free-text terms ("quoted phrases"allowed).Builder ofQueryLogsOptions.Filter ofSkyWalkingQueryClient.queryTraces(codes.grow.packages.skywalking.QueryTracesOptions)(native traces).Builder ofQueryTracesOptions.A searched window.Optional query features of the connected OAP (GraphQLhasQueryTracesV2Support,supportQueryLogsByKeywords), probed once per client.Client for Apache SkyWalking OAP.Builder that configures and creates a client in one chain.Immutable configuration of aSkyWalkingClient(SPEC section 2.2): the OAP REST/GraphQL endpoint (port 12800), the OTLP endpoint used bySkyWalkingTracing.initTracing(codes.grow.packages.skywalking.tracing.TracingConfig)(gRPC, port 11800), the Zipkin query API where OAP stores OTLP spans (port 9412) and the common transport settings.Builder of the configuration.An endpoint (operation) of a native service.SkyWalking entity ids.A service instance.One reported instance property.Options ofSkyWalkingClient.logClient(codes.grow.packages.skywalking.core.HttpTransport, codes.grow.packages.skywalking.SkyWalkingLogClientOptions, boolean)andSkyWalkingClient.createLogClient(codes.grow.packages.skywalking.SkyWalkingConfig, codes.grow.packages.skywalking.SkyWalkingLogClientOptions): the resource of the records (service.name,service.instance.id, more attributes) and the batch settings.Builder ofSkyWalkingLogClientOptions.LogExporterthat posts batches to OAP's native log API (POST /v3/logs, JSON array, port 12800).The SkyWalking GraphQL query API (POST /graphqlon port 12800): services, endpoints, instances, native traces, logs, topology and raw GraphQL.A service known to OAP (native agents, native logs, OTLP logs).TraceQueryClientfor SkyWalking (SPEC section 5) over OAP's two trace stores.initTracingfor SkyWalking: OpenTelemetry tracing that exports OTLP/gRPC to the OAP receiver (port 11800).Granularity of a GraphQLDuration.SkyWalking cross-process propagation headerssw8(v3) andsw8-correlation: encoding, decoding and the context helpers used bySw8Propagator.A decodedsw8header (SkyWalking cross-process propagation v3): the parent of a native SkyWalking span.OpenTelemetry propagator for SkyWalking headers (propagator namesw8).The OAP clock (GraphQLgetTimeInfo).Time window of a metadata, topology, trace or log query.A service graph (getGlobalTopology/getServiceTopology).An edge of the service topology (node ids).A service in the topology.NarrowsSkyWalkingQueryClient.topology().Trace store read bySkyWalkingTraceQueryClient(SkyWalkingConfig.traceBackend()).A span as OAP's Zipkin query API returns it (:9412/zipkin/api/v2): the stored form of spans exported over OTLP.A Zipkin annotation.