Uses of Class
codes.grow.packages.skywalking.SkyWalkingConfig.Builder
Packages that use SkyWalkingConfig.Builder
-
Uses of SkyWalkingConfig.Builder in codes.grow.packages.skywalking
Methods in codes.grow.packages.skywalking that return SkyWalkingConfig.BuilderModifier and TypeMethodDescriptionSkyWalkingConfig.Builder.authentication(Secret authentication) Sets the OAP gRPC token (SW_AUTHENTICATION).SkyWalkingConfig.Builder.authentication(String authentication) Sets the OAP gRPC token (SW_AUTHENTICATION).static SkyWalkingConfig.BuilderSkyWalkingConfig.builder()Starts an empty builder (every field at its default).SkyWalkingConfig.Builder.connectTimeout(Duration d) Sets the connect timeout (default 10 s).Fills every field that was not set explicitly from the environment:url(URL,GROW_SKYWALKING_URL,SW_GRAPHQL_URLwithout/graphql,SW_OAP_ADDRESS),GRAPHQL_PATH,otlpEndpoint(OTLP_ENDPOINT,OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,OTEL_EXPORTER_OTLP_ENDPOINT,SW_AGENT_COLLECTOR_BACKEND_SERVICESashttp://host:port),otlpProtocol,otlpHeaders(OTEL_EXPORTER_OTLP_[TRACES_]HEADERS),authentication(AUTHENTICATION,SW_AUTHENTICATION,SW_AGENT_AUTHENTICATION),zipkinUrl(ZIPKIN_URL,SW_ZIPKIN_ADDRESSplus/zipkin),TRACE_BACKENDand the common timeout, retry, TLS and proxy variables.SkyWalkingConfig.Builder.graphqlPath(String graphqlPath) Sets the GraphQL path (default/graphql).Adds a header sent with every HTTP request (for example gateway credentials).Sets request hooks.Sets the logger (default silent).SkyWalkingConfig.Builder.otlpEndpoint(String otlpEndpoint) Sets the OTLP endpoint (defaulthttp://<url host>:11800).SkyWalkingConfig.Builder.otlpHeader(String name, String value) Adds an OTLP exporter header (gRPC metadata).SkyWalkingConfig.Builder.otlpHeaders(Map<String, String> otlpHeaders) Replaces the OTLP exporter headers.SkyWalkingConfig.Builder.otlpProtocol(OtlpProtocol otlpProtocol) Sets the OTLP protocol (defaultOtlpProtocol.GRPC).Sets an explicit proxy URL; environment proxies (HTTPS_PROXY) are never used.SkyWalkingConfig.Builder.requestTimeout(Duration d) Sets the per-attempt timeout (default 30 s).SkyWalkingConfig.Builder.retry(RetryPolicy retry) Sets the retry policy (defaultRetryPolicy.defaults()).SkyWalkingConfig.Builder.tls(TlsOptions tls) Sets the TLS options; environment TLS variables are then ignored.SkyWalkingConfig.toBuilder()Returns a builder holding these values.SkyWalkingConfig.Builder.totalTimeout(Duration d) Sets the total timeout per call including retries (default 120 s).SkyWalkingConfig.Builder.traceBackend(TraceBackend traceBackend) Sets the trace store read bySkyWalkingClient.traces()(defaultTraceBackend.AUTO).Sets the REST/GraphQL base URL (defaulthttp://127.0.0.1:12800); a trailing/graphqlis stripped.SkyWalkingConfig.Builder.userAgentSuffix(String suffix) Sets the text appended to theUser-Agent.Sets the Zipkin query API base (defaulthttp://<url host>:9412/zipkin).