Uses of Class
codes.grow.packages.loki.LokiClient.Builder
Packages that use LokiClient.Builder
-
Uses of LokiClient.Builder in codes.grow.packages.loki
Methods in codes.grow.packages.loki that return LokiClient.BuilderModifier and TypeMethodDescriptionLokiClient.Builder.allowedLabels(List<String> names) Sets the cardinality guard allowlist.Sets Basic-auth credentials.Sets Basic-auth credentials (gateways, Grafana Cloud).LokiClient.Builder.bearerToken(Secret token) Sets the Bearer token for gateways.LokiClient.Builder.bearerToken(String token) Sets the Bearer token for gateways.static LokiClient.BuilderLokiClient.builder()Starts a client builder.LokiClient.Builder.connectTimeout(Duration d) Sets the connect timeout.LokiClient.Builder.disableLabelGuard(boolean disable) Disables the cardinality guard forLokiClient.push(java.util.List<codes.grow.packages.loki.LokiStream>).Fills unset fields from an environment reader.Adds a header.Sets hooks.Sets the logger.LokiClient.Builder.multiTenantQueries(boolean allow) Allows tenant ids joined with|(multi-tenant queries).Sets the proxy URL.LokiClient.Builder.requestTimeout(Duration d) Sets the per-attempt timeout.LokiClient.Builder.retry(RetryPolicy retry) Sets the retry policy.Sets the tenant (X-Scope-OrgID).LokiClient.Builder.tls(TlsOptions tls) Sets the TLS options.LokiClient.Builder.totalTimeout(Duration d) Sets the total timeout.Sets the endpoint base URL.LokiClient.Builder.userAgentSuffix(String suffix) Sets the user agent suffix.