Applies defaults, validates (throws ConfigError) and freezes.
Optional ReadonlyauthenticationOAP gRPC token.
ReadonlyconnectReadonlygraphqlGraphQL path (default /graphql).
ReadonlyheadersOptional ReadonlyhooksOptional ReadonlyloggerReadonlyotlpOTLP endpoint for traces.
ReadonlyotlpExtra OTLP headers.
ReadonlyotlpOTLP protocol.
Optional ReadonlyproxyReadonlyrequestReadonlyretryReadonlytlsReadonlytotalReadonlytraceTrace store read by client.traces.
ReadonlyurlOptional ReadonlyuserReadonlyzipkinZipkin query API base (ends with /zipkin).
Static ReadonlyDEFAULT_Default REST/GraphQL endpoint.
Static ReadonlyENV_Prefix of every environment variable.
Static ReadonlyOTLP_OAP gRPC port (OTLP receiver).
Static ReadonlyZIPKIN_OAP Zipkin query port.
Credential values to redact from error messages and logs.
Debug form with every credential redacted.
Returns a string representation of an object.
Throws ConfigError when a setting is invalid.
StaticfromReturns options when it already is a config, otherwise builds one.
StaticfromBuilds a config from the environment. Precedence: explicit overrides >
GROW_APACHE_SKYWALKING_<NAME> > vendor variables (VENDOR_ENV, in order) > defaults.
SW_GRAPHQL_URL loses a trailing /graphql, SW_AGENT_COLLECTOR_BACKEND_SERVICES
(host:port) becomes http://host:port and SW_ZIPKIN_ADDRESS gains /zipkin.
Immutable configuration of SkyWalkingClient.