Uses of Class
codes.grow.packages.skywalking.SkyWalkingConfig
Packages that use SkyWalkingConfig
-
Uses of SkyWalkingConfig in codes.grow.packages.skywalking
Methods in codes.grow.packages.skywalking that return SkyWalkingConfigModifier and TypeMethodDescriptionSkyWalkingConfig.Builder.build()Builds and validates the configuration.SkyWalkingClient.config()Returns the configuration.static SkyWalkingConfigSkyWalkingConfig.fromEnv()Reads the configuration from the process environment.static SkyWalkingConfigReads the configuration from an explicit variable map (tests).Methods in codes.grow.packages.skywalking with parameters of type SkyWalkingConfigModifier and TypeMethodDescriptionstatic TracingConfig.BuilderSkyWalkingTracing.configBuilder(String serviceName, SkyWalkingConfig skywalking) A tracing config builder prefilled with the SkyWalking settings (endpoint, protocol, OTLP headers, token, TLS); set further fields on it.static SkyWalkingClientSkyWalkingClient.create(SkyWalkingConfig config) Creates a client.static BatchingLogClientSkyWalkingClient.createLogClient(SkyWalkingConfig config, SkyWalkingLogClientOptions options) A standaloneBatchingLogClientthat sends native logs toPOST /v3/logs(owns its connections;close()flushes and releases them).static TracingHandleSkyWalkingTracing.initTracing(TracingConfig config, SkyWalkingConfig skywalking) Starts tracing that exports to SkyWalking OAP.static TracingConfigSkyWalkingTracing.withDefaults(TracingConfig config, SkyWalkingConfig skywalking) Fills the open fields of a tracing config from the SkyWalking settings: without an endpoint, the endpoint becomesotlpEndpoint(); a protocol equal to theTracingConfigtemplate default (http/protobuf) counts as unset and becomesotlpProtocol()(default grpc, the only OTLP transport OAP 10.4 serves) — the same rule as TypeScript, Go and Python.