Uses of Class
codes.grow.packages.datadoglogs.DatadogLogsConfig.Builder
Packages that use DatadogLogsConfig.Builder
-
Uses of DatadogLogsConfig.Builder in codes.grow.packages.datadoglogs
Methods in codes.grow.packages.datadoglogs that return DatadogLogsConfig.BuilderModifier and TypeMethodDescriptionSets the Datadog API key (required by every call).Sets the Datadog API key (required by every call).Overrides the API base URL.Sets the Datadog application key (query API only; never sent to the intake).Sets the Datadog application key (query API only; never sent to the intake).static DatadogLogsConfig.BuilderDatadogLogsConfig.builder()Starts an empty builder (every field at its default).DatadogLogsConfig.Builder.connectTimeout(Duration d) Sets the connect timeout (default 10 s).Sets the environment, sent as tagenv:<value>.Fills every field that was not set explicitly from the environment.Adds a header sent with every request.Sets request hooks.Sets the defaulthostname(used when a record has nohost.nameresource).Overrides the logs intake base URL.Sets the logger (default silent).Sets an explicit proxy URL; environment proxies (HTTPS_PROXY) are never used.DatadogLogsConfig.Builder.requestTimeout(Duration d) Sets the per-attempt timeout (default 30 s).DatadogLogsConfig.Builder.retry(RetryPolicy retry) Sets the retry policy (defaultRetryPolicy.defaults()).Sets the defaultservice(used when a record has noservice.nameresource).Sets the Datadog site, for exampledatadoghq.eu(defaultdatadoghq.com).Sets theddsourceof every log (defaultgrow-sdk).Replaces the tags from one string separated by commas or spaces.Replaces the tags added to every log.DatadogLogsConfig.Builder.tls(TlsOptions tls) Sets the TLS options; environment TLS variables are then ignored.DatadogLogsConfig.Builder.totalTimeout(Duration d) Sets the total timeout per call including retries (default 120 s).Sets one base URL for both the intake and the API (tests, proxies, fakeintake).DatadogLogsConfig.Builder.userAgentSuffix(String suffix) Sets the text appended to theUser-Agent.Sets the version, sent as tagversion:<value>.