Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptAnyStatus() - Method in class codes.grow.packages.betterstack.core.TransportRequest.Builder
-
Returns every status to the caller (health probes); no status is retried.
- accepted() - Method in record class codes.grow.packages.betterstack.logging.ExportResult
-
Returns the value of the
acceptedrecord component. - accepts(int) - Method in class codes.grow.packages.betterstack.core.TransportRequest
-
Returns whether a non-2xx status is returned to the caller instead of raising an error.
- acceptStatus(int...) - Method in class codes.grow.packages.betterstack.core.TransportRequest.Builder
-
Returns these statuses to the caller instead of raising an error (no retries for them).
- add(LogRecord) - Method in class codes.grow.packages.betterstack.logging.BatchProcessor
-
Queues a record.
- addKeys(String...) - Method in class codes.grow.packages.betterstack.logging.RedactionProcessor.Builder
-
Adds key fragments to the current list.
- append(ILoggingEvent) - Method in class codes.grow.packages.betterstack.logging.GrowLogbackAppender
- append(LogEvent) - Method in class codes.grow.packages.betterstack.logging.GrowLog4j2Appender
- arg(String) - Method in class codes.grow.packages.betterstack.testing.StepContext
-
Returns a required string argument.
- args() - Method in record class codes.grow.packages.betterstack.testing.Scenario.Step
-
Returns the value of the
argsrecord component. - args() - Method in class codes.grow.packages.betterstack.testing.StepContext
-
Returns the arguments with
${...}variables substituted (#{i}is kept). - arrayHeader(int) - Static method in class codes.grow.packages.betterstack.MessagePack
-
Writes the header of an array of
nelements (the elements follow). - ASC - Enum constant in enum class codes.grow.packages.betterstack.logging.SortOrder
-
Oldest first (
"asc"). - asSdkException(Throwable, String) - Static method in class codes.grow.packages.betterstack.core.HttpTransport
-
Converts any throwable from a future into the matching SDK exception.
- assertPassed() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport
-
Throws when any scenario failed.
- attempt() - Method in record class codes.grow.packages.betterstack.core.Hooks.ErrorInfo
-
Returns the value of the
attemptrecord component. - attempt() - Method in record class codes.grow.packages.betterstack.core.Hooks.RequestInfo
-
Returns the value of the
attemptrecord component. - attempt() - Method in record class codes.grow.packages.betterstack.core.Hooks.ResponseInfo
-
Returns the value of the
attemptrecord component. - attempts() - Method in class codes.grow.packages.betterstack.core.TransportResponse
-
Returns the number of attempts the call needed.
- attribute(String, Object) - Method in class codes.grow.packages.betterstack.logging.LogInput.Builder
-
Adds an attribute.
- attribute(String, Object) - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Adds one attribute.
- attributes() - Method in class codes.grow.packages.betterstack.logging.Logger
-
Fixed attributes (including
logger.name). - attributes() - Method in class codes.grow.packages.betterstack.logging.LogInput
-
Attributes.
- attributes() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
Attributes.
- attributes(Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.LogInput.Builder
-
Replaces the attributes.
- attributes(Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Replaces all attributes.
- AttrValues - Class in codes.grow.packages.betterstack.logging
-
Normalises attribute values (
AttrValue) into the kinds the SDK accepts. - AUTHENTICATION - Enum constant in enum class codes.grow.packages.betterstack.core.ErrorCode
-
HTTP 401: missing or invalid credentials.
- AuthenticationException - Exception Class in codes.grow.packages.betterstack.core
-
Missing or invalid credentials (HTTP 401).
- AuthenticationException(String) - Constructor for exception class codes.grow.packages.betterstack.core.AuthenticationException
-
Creates the exception.
- AuthenticationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.AuthenticationException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - AuthenticationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.AuthenticationException
-
Creates the exception with response details.
- AuthenticationException(String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.AuthenticationException
-
Creates the exception with a cause.
- await(CompletableFuture<T>, String) - Static method in class codes.grow.packages.betterstack.core.HttpTransport
-
Waits for a future of this SDK: an interrupt cancels the future and raises
CancelledException.
B
- backoff(int) - Method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Computes the full-jitter backoff for retry
n. - backoffCap(int) - Method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Returns the upper bound of the jitter window for retry
n. - baseUrl() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the base URL.
- basicCredentials() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns base64(
username:password) for HTTP Basic. - BatchingLogClient - Class in codes.grow.packages.betterstack.logging
- BatchingLogClient.Builder - Class in codes.grow.packages.betterstack.logging
-
Builder for
BatchingLogClient. - batchOptions() - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions
-
Batching options;
maxBatchBytesis capped at 10 MiB. - batchOptions() - Method in record class codes.grow.packages.betterstack.testing.Scenario
-
Returns the
batchOptionsobject of a logging scenario. - batchOptions(BatchOptions) - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions.Builder
-
Sets the batching options.
- batchOptions(BatchOptions) - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient.Builder
-
Sets the batch options.
- batchOptions(Scenario, BatchOptions) - Static method in record class codes.grow.packages.betterstack.testing.logging.LoggingTarget
-
Applies a scenario's
batchOptions(maxQueueSize,maxBatchSize,maxBatchBytes,flushIntervalMs,exportTimeoutMs,dropPolicy,gzip) on top ofbase; factories call this when building the client. - BatchOptions - Class in codes.grow.packages.betterstack.logging
-
Options of a
BatchProcessor. - BatchOptions.Builder - Class in codes.grow.packages.betterstack.logging
-
Builder for
BatchOptions. - BatchProcessor - Class in codes.grow.packages.betterstack.logging
-
Queues log records and exports them in batches from one background thread (a single-threaded
ScheduledExecutorService). - BatchProcessor(LogExporter) - Constructor for class codes.grow.packages.betterstack.logging.BatchProcessor
-
Creates a processor with default options.
- BatchProcessor(LogExporter, BatchOptions) - Constructor for class codes.grow.packages.betterstack.logging.BatchProcessor
-
Creates a processor and starts its worker thread.
- batchSizes() - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogExporter
-
Sizes of all export calls.
- BatchStats - Record Class in codes.grow.packages.betterstack.logging
-
Counters of a
BatchProcessor. - BatchStats(long, long, long, long, long) - Constructor for record class codes.grow.packages.betterstack.logging.BatchStats
-
Creates an instance of a
BatchStatsrecord class. - BetterStackClient - Class in codes.grow.packages.betterstack
-
Client for Better Stack Logs: ingestion through the source's ingesting host (
BetterStackClient.logClient(),BetterStackClient.exporter(),BetterStackClient.otlpExporter()) and the SQL query API (BetterStackClient.query()), each with its own credentials and transport. - BetterStackClient.Builder - Class in codes.grow.packages.betterstack
-
Builder that configures and creates a client in one chain.
- BetterStackConfig - Class in codes.grow.packages.betterstack
-
Immutable configuration of a
BetterStackClient(SPEC section 2.2). - BetterStackConfig.Builder - Class in codes.grow.packages.betterstack
-
Builder of the configuration.
- BetterStackErrors - Class in codes.grow.packages.betterstack
-
Better Stack specific error mapping on top of the SPEC section 2.1 HTTP mapping.
- BetterStackEvents - Class in codes.grow.packages.betterstack
-
Maps
LogRecords to Better Stack events and encodes request bodies (JSON, NDJSON, MessagePack). - BetterStackException - Exception Class in codes.grow.packages.betterstack.core
-
Base class of every error raised by the Better Stack Logs SDK (SPEC section 2.1).
- BetterStackException(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.BetterStackException
-
Creates an exception.
- BetterStackLogClientOptions - Class in codes.grow.packages.betterstack
-
Options of
BetterStackClient.logClient(BetterStackLogClientOptions): protocol, exporter options, batching, resource and redaction. - BetterStackLogClientOptions.Builder - Class in codes.grow.packages.betterstack
-
Builder of
BetterStackLogClientOptions. - BetterStackLogExporter - Class in codes.grow.packages.betterstack
-
LogExporterfor Better Stack's HTTP ingest API (POST {url}/on the source's ingesting host,Authorization: Bearer <source token>). - BetterStackLogExporterOptions - Record Class in codes.grow.packages.betterstack
-
Options of a
BetterStackLogExporter: body encoding and request limits. - BetterStackLogExporterOptions(Optional<IngestEncoding>, int, int) - Constructor for record class codes.grow.packages.betterstack.BetterStackLogExporterOptions
-
Fills defaults.
- BetterStackOtlpLogExporter - Class in codes.grow.packages.betterstack
-
LogExporterthat sends OTLP/HTTP logs to the source's ingesting host (POST {url}/v1/logs,Authorization: Bearer <source token>), protobuf by default or OTLP/JSON. - BetterStackOtlpLogExporterOptions - Record Class in codes.grow.packages.betterstack
-
Options of a
BetterStackOtlpLogExporter. - BetterStackOtlpLogExporterOptions(OtlpProtocol, String, int) - Constructor for record class codes.grow.packages.betterstack.BetterStackOtlpLogExporterOptions
-
Fills defaults for
null/ 0 values. - BetterStackQuery - Class in codes.grow.packages.betterstack
-
SQL query client for Better Stack Logs: the ClickHouse HTTP interface of the query host with the connection's own Basic credentials.
- BLOCK - Enum constant in enum class codes.grow.packages.betterstack.logging.DropPolicy
-
Block the caller until there is room (
"block"); never drops for a full queue (an interrupted caller drops its record withDropReason.QUEUE_FULL). - body() - Method in class codes.grow.packages.betterstack.core.TransportRequest
-
Returns a copy of the body.
- body() - Method in class codes.grow.packages.betterstack.core.TransportResponse
-
Returns a copy of the body.
- body() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
Message; structured bodies are JSON-encoded strings.
- body(byte[], String) - Method in class codes.grow.packages.betterstack.core.TransportRequest.Builder
-
Sets a raw body.
- body(String) - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Sets the message.
- bool(String, String...) - Method in class codes.grow.packages.betterstack.core.EnvReader
-
Reads a boolean (
true/false/1/0/yes/no/on/off, case-insensitive). - build() - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Builds the configuration and the client.
- build() - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Builds and validates the configuration.
- build() - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.betterstack.core.RetryPolicy.Builder
-
Validates and builds the policy.
- build() - Method in class codes.grow.packages.betterstack.core.TlsOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Builds the configuration.
- build() - Method in class codes.grow.packages.betterstack.core.TransportRequest.Builder
-
Builds the request.
- build() - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient.Builder
-
Builds the client and starts its worker thread.
- build() - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Validates and builds the options.
- build() - Method in class codes.grow.packages.betterstack.logging.LogInput.Builder
-
Builds the input.
- build() - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Builds the record.
- build() - Method in class codes.grow.packages.betterstack.logging.RedactionProcessor.Builder
-
Builds the processor.
- build() - Method in class codes.grow.packages.betterstack.logging.SearchOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.betterstack.SearchLogsOptions.Builder
-
Builds the options.
- build() - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Builds the runner.
- builder() - Static method in class codes.grow.packages.betterstack.BetterStackClient
-
Starts a client builder.
- builder() - Static method in class codes.grow.packages.betterstack.BetterStackConfig
-
Starts an empty builder (every field at its default).
- builder() - Static method in class codes.grow.packages.betterstack.BetterStackLogClientOptions
-
Returns a builder.
- builder() - Static method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Starts a builder with the defaults.
- builder() - Static method in class codes.grow.packages.betterstack.core.TlsOptions
-
Starts a builder.
- builder() - Static method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Returns a builder with the defaults.
- builder() - Static method in class codes.grow.packages.betterstack.logging.LogRecord
-
Returns a new builder.
- builder() - Static method in class codes.grow.packages.betterstack.logging.RedactionProcessor
-
Returns a builder with the defaults.
- builder() - Static method in class codes.grow.packages.betterstack.logging.SearchOptions
-
Returns a builder.
- builder() - Static method in class codes.grow.packages.betterstack.SearchLogsOptions
-
Returns a builder.
- builder() - Static method in class codes.grow.packages.betterstack.testing.ConformanceRunner
-
Starts a builder with
CoreOpsand the built-in category operations registered. - builder(LogExporter) - Static method in class codes.grow.packages.betterstack.logging.BatchingLogClient
-
Returns a builder.
- builder(String) - Static method in class codes.grow.packages.betterstack.core.TransportConfig
-
Starts a builder with the SPEC defaults.
- builder(String) - Static method in class codes.grow.packages.betterstack.logging.LogInput
-
Returns a builder for
message. - builder(String, String) - Static method in class codes.grow.packages.betterstack.core.TransportRequest
-
Starts a request.
- byteSize(LogRecord) - Static method in class codes.grow.packages.betterstack.logging.LogRecordJson
-
Returns the UTF-8 size of the record's JSON form (the unit of
maxBatchBytes).
C
- caCertPath() - Method in class codes.grow.packages.betterstack.core.TlsOptions
-
Returns the CA bundle path.
- caCertPath(Path) - Method in class codes.grow.packages.betterstack.core.TlsOptions.Builder
-
Trusts the CA certificates in a PEM file instead of the system trust store.
- caCertPem() - Method in class codes.grow.packages.betterstack.core.TlsOptions
-
Returns the inline CA bundle.
- caCertPem(String) - Method in class codes.grow.packages.betterstack.core.TlsOptions.Builder
-
Trusts the CA certificates in inline PEM text.
- CANCELLED - Enum constant in enum class codes.grow.packages.betterstack.core.ErrorCode
-
The caller cancelled the operation.
- CancelledException - Exception Class in codes.grow.packages.betterstack.core
-
The caller cancelled the operation (future cancelled, thread interrupted, client closed).
- CancelledException(String) - Constructor for exception class codes.grow.packages.betterstack.core.CancelledException
-
Creates the exception.
- CancelledException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.CancelledException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - CancelledException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.CancelledException
-
Creates the exception with response details.
- CancelledException(String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.CancelledException
-
Creates the exception with a cause.
- capabilities(String...) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Declares capabilities of the target (
write,delete,versions,query,version, ...). - category() - Method in interface codes.grow.packages.betterstack.testing.ConformanceOps
-
Returns the category these operations serve.
- category() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
categoryrecord component. - category() - Method in class codes.grow.packages.betterstack.testing.CoreOps
- category() - Method in class codes.grow.packages.betterstack.testing.logging.LoggingOps
- category() - Method in record class codes.grow.packages.betterstack.testing.Scenario
-
Returns the value of the
categoryrecord component. - check(HttpTransport, String) - Static method in class codes.grow.packages.betterstack.core.HealthCheck
-
Probes an endpoint once (no retries) and maps the outcome to a
HealthStatus. - check(JsonNode, Object, Throwable) - Static method in class codes.grow.packages.betterstack.testing.Expectations
-
Checks a step outcome.
- checkAsync(HttpTransport, String) - Static method in class codes.grow.packages.betterstack.core.HealthCheck
-
Asynchronous variant of
HealthCheck.check(codes.grow.packages.betterstack.core.HttpTransport, java.lang.String). - child(Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Returns a logger with more fixed attributes (they win over the parent's).
- clear() - Method in class codes.grow.packages.betterstack.core.Secret
-
Overwrites the characters with zeros; later
Secret.reveal()calls throw. - clickHouseCode(String) - Static method in class codes.grow.packages.betterstack.BetterStackErrors
-
Extracts the ClickHouse exception code from an error text (
Code: 60. DB::Exception: …). - client() - Method in record class codes.grow.packages.betterstack.testing.logging.LoggingTarget
-
Returns the value of the
clientrecord component. - clientCertPath() - Method in class codes.grow.packages.betterstack.core.TlsOptions
-
Returns the client certificate path.
- clientCertPath(Path) - Method in class codes.grow.packages.betterstack.core.TlsOptions.Builder
-
Sets the client certificate file (mutual TLS); requires a key.
- clientCertPem(String) - Method in class codes.grow.packages.betterstack.core.TlsOptions.Builder
-
Sets the client certificate as inline PEM.
- clientKeyPath() - Method in class codes.grow.packages.betterstack.core.TlsOptions
-
Returns the client key path.
- clientKeyPath(Path) - Method in class codes.grow.packages.betterstack.core.TlsOptions.Builder
-
Sets the client key file (unencrypted PKCS#8 PEM).
- clientKeyPem(Secret) - Method in class codes.grow.packages.betterstack.core.TlsOptions.Builder
-
Sets the client key as inline PEM.
- clock() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the clock used for
Retry-Afterdates. - clock(Clock) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets the clock (tests).
- clock(Clock) - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient.Builder
-
Sets the clock used for default timestamps (tests).
- close() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
Flushes and closes every log client, stops tails, then releases both transports.
- close() - Method in class codes.grow.packages.betterstack.core.HttpTransport
-
Cancels pending calls and releases the client.
- close() - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient
- close() - Method in class codes.grow.packages.betterstack.logging.BatchProcessor
-
Same as
BatchProcessor.shutdown(). - close() - Method in class codes.grow.packages.betterstack.logging.GrowJulHandler
- close() - Method in interface codes.grow.packages.betterstack.logging.LogClient
-
Flushes and shuts down; idempotent.
- close() - Method in interface codes.grow.packages.betterstack.logging.TailHandle
-
Same as
TailHandle.stop(). - close() - Method in interface codes.grow.packages.betterstack.testing.CoreTarget
-
Releases the target; idempotent.
- closeAsync() - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient
- closeAsync() - Method in interface codes.grow.packages.betterstack.logging.LogClient
-
Asynchronous
LogClient.close(). - code() - Method in exception class codes.grow.packages.betterstack.core.BetterStackException
-
Returns the canonical error code.
- codes.grow.packages.betterstack - package codes.grow.packages.betterstack
-
Grow Codes SDK for Better Stack Logs.
- codes.grow.packages.betterstack.core - package codes.grow.packages.betterstack.core
- codes.grow.packages.betterstack.logging - package codes.grow.packages.betterstack.logging
- codes.grow.packages.betterstack.testing - package codes.grow.packages.betterstack.testing
- codes.grow.packages.betterstack.testing.logging - package codes.grow.packages.betterstack.testing.logging
- config() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
Returns the configuration.
- config() - Method in class codes.grow.packages.betterstack.core.HttpTransport
-
Returns the configuration.
- CONFIG - Enum constant in enum class codes.grow.packages.betterstack.core.ErrorCode
-
Invalid or missing configuration.
- ConfigException - Exception Class in codes.grow.packages.betterstack.core
-
Invalid or missing configuration.
- ConfigException(String) - Constructor for exception class codes.grow.packages.betterstack.core.ConfigException
-
Creates the exception.
- ConfigException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.ConfigException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - ConfigException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.ConfigException
-
Creates the exception with response details.
- ConfigException(String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.ConfigException
-
Creates the exception with a cause.
- CONFLICT - Enum constant in enum class codes.grow.packages.betterstack.core.ErrorCode
-
HTTP 409, 412 or a check-and-set mismatch.
- ConflictException - Exception Class in codes.grow.packages.betterstack.core
-
Conflicting write or check-and-set mismatch (HTTP 409, 412).
- ConflictException(String) - Constructor for exception class codes.grow.packages.betterstack.core.ConflictException
-
Creates the exception.
- ConflictException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.ConflictException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - ConflictException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.ConflictException
-
Creates the exception with response details.
- ConflictException(String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.ConflictException
-
Creates the exception with a cause.
- ConformanceOps - Interface in codes.grow.packages.betterstack.testing
-
The operations of one scenario category (
core,secrets,logging,tracing) for theConformanceRunner. - ConformanceReport - Record Class in codes.grow.packages.betterstack.testing
-
Results of a conformance run.
- ConformanceReport(List<ConformanceReport.ScenarioResult>) - Constructor for record class codes.grow.packages.betterstack.testing.ConformanceReport
-
Creates a report; the list is copied.
- ConformanceReport.ScenarioResult - Record Class in codes.grow.packages.betterstack.testing
-
Result of one scenario.
- ConformanceReport.Status - Enum Class in codes.grow.packages.betterstack.testing
-
Outcome of a scenario or step.
- ConformanceReport.StepResult - Record Class in codes.grow.packages.betterstack.testing
-
Result of one step.
- ConformanceRunner - Class in codes.grow.packages.betterstack.testing
-
Runs the shared conformance scenarios (
conformance/scenarios/*.json, SPEC section 6) against targets supplied by a service's integration test. - ConformanceRunner.Builder - Class in codes.grow.packages.betterstack.testing
-
Builder for
ConformanceRunner. - connectTimeout() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the connect timeout.
- connectTimeout() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the connection setup timeout.
- connectTimeout(Duration) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the connect timeout.
- connectTimeout(Duration) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the connect timeout (default 10 s).
- connectTimeout(Duration) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets the connect timeout.
- contains() - Method in class codes.grow.packages.betterstack.SearchLogsOptions
-
Case-sensitive literal text searched in the raw event JSON (JSON-escaped first, so it matches text inside string values); empty matches everything.
- contains(String) - Method in class codes.grow.packages.betterstack.SearchLogsOptions.Builder
-
Sets the text to search.
- contentType() - Method in class codes.grow.packages.betterstack.core.TransportRequest
-
Returns the body content type.
- contentType() - Method in enum class codes.grow.packages.betterstack.IngestEncoding
-
Returns the
Content-Typesent for this encoding. - contentType() - Method in enum class codes.grow.packages.betterstack.OtlpProtocol
-
Returns the
Content-Typeof this format. - CoreOps - Class in codes.grow.packages.betterstack.testing
-
Conformance operations of the
corecategory:health,ping,serverVersion,close. - CoreOps() - Constructor for class codes.grow.packages.betterstack.testing.CoreOps
-
Creates the operations.
- CoreTarget - Interface in codes.grow.packages.betterstack.testing
-
A target of the
coreconformance category that is not the service client: a fake for unit tests of the runner, or an adapter for a client whose core methods differ. - count() - Method in class codes.grow.packages.betterstack.testing.OpResult
-
Returns the explicit count.
- create(BetterStackConfig) - Static method in class codes.grow.packages.betterstack.BetterStackClient
-
Creates a client.
- create(Scenario) - Method in interface codes.grow.packages.betterstack.testing.TargetFactory
-
Creates or returns the target for one scenario.
- create(String, LogClient) - Static method in class codes.grow.packages.betterstack.logging.GrowLog4j2Appender
-
Creates an appender bound to
client(start it and add it to a configuration). - createAppender(String, Filter) - Static method in class codes.grow.packages.betterstack.logging.GrowLog4j2Appender
-
Plugin factory used by configuration files.
- cursor() - Method in class codes.grow.packages.betterstack.logging.SearchOptions
-
Page cursor from a previous result.
- cursor() - Method in class codes.grow.packages.betterstack.SearchLogsOptions
-
Opaque cursor of a previous page.
- cursor(String) - Method in class codes.grow.packages.betterstack.logging.SearchOptions.Builder
-
Sets the page cursor.
- cursor(String) - Method in class codes.grow.packages.betterstack.SearchLogsOptions.Builder
-
Sets the page cursor.
D
- debug(String) - Method in interface codes.grow.packages.betterstack.core.Logger
-
Logs at debug level without fields.
- debug(String) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at DEBUG.
- debug(String, Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at DEBUG.
- debug(String, Map<String, Object>) - Method in interface codes.grow.packages.betterstack.core.Logger
-
Logs at debug level.
- DEBUG - Enum constant in enum class codes.grow.packages.betterstack.logging.Severity
-
OTel severity 5.
- decode(byte[], TypeReference<T>) - Static method in class codes.grow.packages.betterstack.core.Json
-
Decodes JSON bytes into a generic type.
- decode(byte[], Class<T>) - Static method in class codes.grow.packages.betterstack.core.Json
-
Decodes JSON bytes into a type.
- deepMatch(JsonNode, JsonNode) - Static method in class codes.grow.packages.betterstack.testing.Expectations
-
Deep JSON equality where objects in
expectedare matched as subsets and numbers compare by value (42 == 42.0). - DEFAULT_INTERVAL - Static variable in record class codes.grow.packages.betterstack.logging.TailOptions
-
The interval used when none is given.
- DEFAULT_INTERVAL - Static variable in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
The interval used when none is given.
- DEFAULT_LIMIT - Static variable in class codes.grow.packages.betterstack.BetterStackQuery
- DEFAULT_MAX_RETRIES - Static variable in class codes.grow.packages.betterstack.core.RetryPolicy
-
Default maximum number of retries (so up to 4 attempts).
- DEFAULT_POLL_INTERVAL - Static variable in class codes.grow.packages.betterstack.testing.ConformanceRunner
-
Pause between repeated steps.
- DEFAULT_POLL_TIMEOUT - Static variable in class codes.grow.packages.betterstack.testing.ConformanceRunner
-
How long
listServicessteps are repeated until their expectation passes. - DEFAULT_PREFIX - Static variable in class codes.grow.packages.betterstack.core.EnvReader
-
Prefix of every variable of this SDK.
- DEFAULT_PREFIX - Static variable in class codes.grow.packages.betterstack.testing.ConformanceRunner
-
Default value of
${prefix}. - DEFAULT_REDACT_KEYS - Static variable in class codes.grow.packages.betterstack.logging.RedactionProcessor
-
Default sensitive attribute name fragments (SPEC section 4).
- DEFAULT_REPLACEMENT - Static variable in class codes.grow.packages.betterstack.logging.RedactionProcessor
-
Default replacement text.
- DEFAULT_SCOPE_NAME - Static variable in class codes.grow.packages.betterstack.OtlpLogs
-
Instrumentation scope name of exported records.
- DEFAULT_SEARCH_WINDOW - Static variable in class codes.grow.packages.betterstack.BetterStackQuery
-
Window of a search without a start: 24 h before the end (or before now).
- defaults() - Static method in class codes.grow.packages.betterstack.BetterStackLogClientOptions
-
Defaults: HTTP ingest in the configured encoding, default batching, no resource, default redaction.
- defaults() - Static method in record class codes.grow.packages.betterstack.BetterStackLogExporterOptions
-
Defaults: the configured encoding, 10 MiB limits.
- defaults() - Static method in record class codes.grow.packages.betterstack.BetterStackOtlpLogExporterOptions
-
Defaults: protobuf, default scope, 10 MiB.
- defaults() - Static method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Returns the default policy: 3 retries, 100 ms initial, 10 s max, multiplier 2, Retry-After up to 60 s.
- defaults() - Static method in class codes.grow.packages.betterstack.core.TlsOptions
-
Returns options without any customisation (system trust store).
- defaults() - Static method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Returns the defaults.
- defaults() - Static method in class codes.grow.packages.betterstack.logging.RedactionProcessor
-
Returns a processor with the default keys, no patterns and
"[REDACTED]". - defaults() - Static method in class codes.grow.packages.betterstack.logging.SearchOptions
-
Default options (no range, limit 100, newest first).
- defaults() - Static method in record class codes.grow.packages.betterstack.logging.TailOptions
-
Defaults: from now, 1 s interval, errors ignored.
- defaults() - Static method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Defaults: 30 s timeout, 1 s interval, any record.
- defaults() - Static method in record class codes.grow.packages.betterstack.QueryOptions
-
No settings.
- defaults() - Static method in class codes.grow.packages.betterstack.SearchLogsOptions
-
Defaults: the configured source table, no text filter, the last 24 h, 100 records, newest first.
- defaults() - Static method in record class codes.grow.packages.betterstack.SendEventsOptions
-
Defaults: the exporter's encoding, gzip on.
- delete(String) - Static method in class codes.grow.packages.betterstack.core.TransportRequest
-
Starts a DELETE request.
- DESC - Enum constant in enum class codes.grow.packages.betterstack.logging.SortOrder
-
Newest first (
"desc", default). - describe() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.ScenarioResult
-
Returns a one-line description.
- description() - Method in record class codes.grow.packages.betterstack.testing.Scenario
-
Returns the value of the
descriptionrecord component. - details() - Method in record class codes.grow.packages.betterstack.core.HealthStatus
-
Returns the value of the
detailsrecord component. - DROP_NEWEST - Enum constant in enum class codes.grow.packages.betterstack.logging.DropPolicy
-
Drop the record being added (
"drop_newest", default). - DROP_OLDEST - Enum constant in enum class codes.grow.packages.betterstack.logging.DropPolicy
-
Drop the oldest queued record to make room (
"drop_oldest"). - dropped() - Method in record class codes.grow.packages.betterstack.logging.BatchStats
-
Returns the value of the
droppedrecord component. - dropPolicy() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Queue-full behaviour (default
DropPolicy.DROP_NEWEST). - dropPolicy(DropPolicy) - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Sets the drop policy.
- DropPolicy - Enum Class in codes.grow.packages.betterstack.logging
-
What
BatchProcessor.add(codes.grow.packages.betterstack.logging.LogRecord)does when the queue is full. - DropReason - Enum Class in codes.grow.packages.betterstack.logging
-
Why records were dropped (argument of
BatchOptions.Builder.onDrop). - duration() - Method in class codes.grow.packages.betterstack.core.TransportResponse
-
Returns the call duration including retries.
- duration(String, String...) - Method in class codes.grow.packages.betterstack.core.EnvReader
-
Reads a duration (integer milliseconds or Go-style units such as
1m30s). - durationMs() - Method in record class codes.grow.packages.betterstack.core.Hooks.ResponseInfo
-
Returns the value of the
durationMsrecord component. - durationMs() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
durationMsrecord component. - dynamicTests(ConformanceRunner) - Static method in class codes.grow.packages.betterstack.testing.JUnitConformance
-
Creates one dynamic test per selected scenario.
E
- encode(Object) - Static method in class codes.grow.packages.betterstack.core.Json
-
Encodes a value as UTF-8 JSON.
- encode(Object) - Static method in class codes.grow.packages.betterstack.MessagePack
-
Encodes a value.
- encode(List<? extends Map<String, ?>>, IngestEncoding) - Static method in class codes.grow.packages.betterstack.BetterStackEvents
-
Encodes events as one request body:
JSONa JSON array,NDJSONone object per line,MSGPACKa MessagePack array withInstantvalues as timestamp extensions. - encode(List<LogRecord>) - Method in class codes.grow.packages.betterstack.BetterStackOtlpLogExporter
-
Encodes records as one request body (protobuf bytes or OTLP/JSON text).
- encodeLogRecord(LogRecord) - Static method in class codes.grow.packages.betterstack.OtlpLogs
-
Encodes one OTLP
LogRecordmessage. - encodeProtobuf(List<LogRecord>, String) - Static method in class codes.grow.packages.betterstack.OtlpLogs
-
Encodes an
ExportLogsServiceRequestas protobuf: oneResourceLogsper distinct resource with oneScopeLogs(scopeName, SDK version). - encoding() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the ingest body encoding (default
IngestEncoding.JSON). - encoding() - Method in class codes.grow.packages.betterstack.BetterStackLogExporter
-
Returns the body encoding.
- encoding() - Method in record class codes.grow.packages.betterstack.BetterStackLogExporterOptions
-
Returns the value of the
encodingrecord component. - encoding() - Method in record class codes.grow.packages.betterstack.SendEventsOptions
-
Returns the value of the
encodingrecord component. - encoding(IngestEncoding) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the ingest body encoding.
- encoding(IngestEncoding) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the ingest body encoding (default
IngestEncoding.JSON). - end() - Method in class codes.grow.packages.betterstack.logging.SearchOptions
-
Range end (exclusive).
- end() - Method in class codes.grow.packages.betterstack.SearchLogsOptions
-
Inclusive window end; empty means no upper bound (robust to clock skew and ingest delay).
- end(Instant) - Method in class codes.grow.packages.betterstack.logging.SearchOptions.Builder
-
Sets the range end.
- end(Instant) - Method in class codes.grow.packages.betterstack.SearchLogsOptions.Builder
-
Sets the inclusive window end.
- enqueueOutcome(Function<List<LogRecord>, CompletableFuture<ExportResult>>) - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogExporter
-
Scripts the outcome of the next export call (FIFO).
- EnvReader - Class in codes.grow.packages.betterstack.core
-
Reads configuration from environment variables (SPEC section 2.2).
- EnvReader(String, Map<String, String>) - Constructor for class codes.grow.packages.betterstack.core.EnvReader
-
Creates a reader over an explicit environment map.
- equals(Object) - Method in record class codes.grow.packages.betterstack.BetterStackLogExporterOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.BetterStackOtlpLogExporterOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.core.HealthStatus
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.core.Hooks.ErrorInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.core.Hooks.RequestInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.core.Hooks.ResponseInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.logging.BatchStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.logging.ExportOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.logging.ExportResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class codes.grow.packages.betterstack.logging.LogRecord
- equals(Object) - Method in record class codes.grow.packages.betterstack.logging.LogSearchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.logging.TailOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.OtlpLogs.PartialSuccess
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.QueryOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.SendEventsOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.ScenarioResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.StepResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.testing.logging.LoggingTarget
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.testing.Scenario
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class codes.grow.packages.betterstack.testing.Scenario.Step
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class codes.grow.packages.betterstack.core.Hooks.ErrorInfo
-
Returns the value of the
errorrecord component. - error() - Method in record class codes.grow.packages.betterstack.logging.ExportResult
-
Returns the value of the
errorrecord component. - error(String) - Method in interface codes.grow.packages.betterstack.core.Logger
-
Logs at error level without fields.
- error(String) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at ERROR.
- error(String, Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at ERROR.
- error(String, Map<String, Object>) - Method in interface codes.grow.packages.betterstack.core.Logger
-
Logs at error level.
- ERROR - Enum constant in enum class codes.grow.packages.betterstack.logging.Severity
-
OTel severity 17.
- ErrorCode - Enum Class in codes.grow.packages.betterstack.core
-
Canonical error codes shared by every Grow Codes SDK (SPEC section 2.1).
- errorForClickHouseCode(int, String, Integer, String) - Static method in class codes.grow.packages.betterstack.BetterStackErrors
-
Builds the SDK exception for a ClickHouse exception code, or empty when the code has no specific mapping (the HTTP status mapping applies then).
- ErrorInfo(String, String, BetterStackException, int, boolean) - Constructor for record class codes.grow.packages.betterstack.core.Hooks.ErrorInfo
-
Creates an instance of a
ErrorInforecord class. - errorMapper() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the service error mapper.
- errorMapper(ErrorMapper) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets the service error mapper (see
ErrorMapper). - ErrorMapper - Interface in codes.grow.packages.betterstack.core
-
Service hook that replaces the error
HttpTransportderived from a failed response, for vendor-specific mapping (for example a 403 that means bad credentials, or a 500 whose body says the request will never succeed). - errorMessage(String, int, Map<String, List<String>>, byte[], Collection<String>) - Static method in class codes.grow.packages.betterstack.core.HttpTransport
-
Builds an error message
"<operation>: <reason> (HTTP <status>)"with redacted, truncated vendor text. - escapeParamValue(String) - Static method in class codes.grow.packages.betterstack.BetterStackQuery
-
Escapes a
param_<name>value for ClickHouse, which parses query parameter values in the escaped (TabSeparated) text format: backslash becomes\\, tab\t, newline\nand carriage return\r(DECISIONS 12). - eventJson(Map<String, ?>) - Static method in class codes.grow.packages.betterstack.BetterStackEvents
-
JSON text of one event (
Instantvalues become RFC 3339 UTC strings). - expect() - Method in record class codes.grow.packages.betterstack.testing.Scenario.Step
-
Returns the value of the
expectrecord component. - Expectations - Class in codes.grow.packages.betterstack.testing
-
Evaluates the
expectobject of a scenario step (SPEC section 6). - explicitInterval() - Method in record class codes.grow.packages.betterstack.logging.TailOptions
-
Returns the interval the caller set, or empty when it was left unset (the record then holds
TailOptions.DEFAULT_INTERVAL). - explicitInterval() - Method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Returns the interval the caller set, or empty when it was left unset (the record then holds
WaitForLogOptions.DEFAULT_INTERVAL). - export(List<LogRecord>, ExportOptions) - Method in class codes.grow.packages.betterstack.BetterStackLogExporter
-
Sends the records in as few requests as the limits allow.
- export(List<LogRecord>, ExportOptions) - Method in class codes.grow.packages.betterstack.BetterStackOtlpLogExporter
-
Sends the records; the future never fails for service errors (see
LogExporter). - export(List<LogRecord>, ExportOptions) - Method in interface codes.grow.packages.betterstack.logging.LogExporter
-
Exports a batch.
- export(List<LogRecord>, ExportOptions) - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogExporter
- EXPORT_FAILED - Enum constant in enum class codes.grow.packages.betterstack.logging.DropReason
-
The exporter failed or rejected the records (
"export_failed"). - exporter() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
The HTTP ingest exporter in the configured encoding with the default limits.
- exporter() - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions
-
Options of the HTTP ingest exporter (protocol
LogProtocol.HTTP). - exporter(BetterStackLogExporterOptions) - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions.Builder
-
Sets the HTTP exporter options (encoding, limits).
- ExportOptions - Record Class in codes.grow.packages.betterstack.logging
- ExportOptions(boolean, Duration) - Constructor for record class codes.grow.packages.betterstack.logging.ExportOptions
-
Validates the options.
- ExportResult - Record Class in codes.grow.packages.betterstack.logging
- ExportResult(int, int, Optional<BetterStackException>) - Constructor for record class codes.grow.packages.betterstack.logging.ExportResult
-
Validates the result.
- exportTimeout() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Time budget per export including retries; also the default flush/shutdown timeout (default 30 s).
- exportTimeout(Duration) - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Sets the export timeout.
F
- failed() - Method in record class codes.grow.packages.betterstack.logging.BatchStats
-
Returns the value of the
failedrecord component. - FAILED - Enum constant in enum class codes.grow.packages.betterstack.testing.ConformanceReport.Status
-
An expectation failed or the step raised an unexpected error.
- failure(int, int, BetterStackException) - Static method in record class codes.grow.packages.betterstack.logging.ExportResult
-
Some or all records failed.
- fatal(String) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at FATAL.
- fatal(String, Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at FATAL.
- FATAL - Enum constant in enum class codes.grow.packages.betterstack.logging.Severity
-
OTel severity 21.
- flush() - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient
- flush() - Method in class codes.grow.packages.betterstack.logging.BatchProcessor
-
Exports everything queued now, waiting at most the export timeout.
- flush() - Method in class codes.grow.packages.betterstack.logging.GrowJulHandler
- flush() - Method in interface codes.grow.packages.betterstack.logging.LogClient
-
Exports everything queued now, waiting at most the export timeout.
- flush(Duration) - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient
- flush(Duration) - Method in class codes.grow.packages.betterstack.logging.BatchProcessor
-
Exports everything queued now.
- flush(Duration) - Method in interface codes.grow.packages.betterstack.logging.LogClient
-
Exports everything queued now.
- flushAsync(Duration) - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient
- flushAsync(Duration) - Method in class codes.grow.packages.betterstack.logging.BatchProcessor
-
Exports everything queued now, asynchronously.
- flushAsync(Duration) - Method in interface codes.grow.packages.betterstack.logging.LogClient
-
Asynchronous
LogClient.flush(Duration). - flushInterval() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Interval of the background flush (default 1 s).
- flushInterval(Duration) - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Sets the background flush interval.
- formatDateTime64(Instant) - Static method in class codes.grow.packages.betterstack.BetterStackQuery
-
Formats an instant as ClickHouse
DateTime64(6)text in UTC (YYYY-MM-DD HH:MM:SS.ffffff). - formatTimestamp(Instant) - Static method in class codes.grow.packages.betterstack.BetterStackEvents
-
Formats an instant as RFC 3339 UTC with up to nanosecond digits (
2026-11-18T21:00:00.123456789Z). - forStatus(int) - Static method in enum class codes.grow.packages.betterstack.core.ErrorCode
-
Maps an HTTP status to its canonical code.
- fromEnv() - Static method in class codes.grow.packages.betterstack.BetterStackClient
-
Creates a client from
GROW_BETTER_STACK_LOGS_*and the vendor variables (BETTERSTACK_SOURCE_TOKEN,BETTERSTACK_INGESTING_HOST,BETTERSTACK_QUERY_*, …). - fromEnv() - Static method in class codes.grow.packages.betterstack.BetterStackConfig
-
Reads the configuration from the process environment.
- fromEnv(EnvReader) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Fills unset fields from an environment reader.
- fromEnv(EnvReader) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Fills every field that was not set explicitly from the environment:
GROW_BETTER_STACK_LOGS_<NAME>first, then the vendor variables (BETTERSTACK_INGESTING_URL,BETTERSTACK_INGESTING_HOST,BETTERSTACK_SOURCE_TOKEN,BETTERSTACK_QUERY_URL,BETTERSTACK_QUERY_HOST,BETTERSTACK_QUERY_USERNAME,BETTERSTACK_QUERY_PASSWORD,BETTERSTACK_SOURCE_TABLE). - fromEnv(Map<String, String>) - Static method in class codes.grow.packages.betterstack.BetterStackConfig
-
Reads the configuration from an explicit variable map (tests).
- fromError(BetterStackException) - Static method in class codes.grow.packages.betterstack.core.HealthCheck
-
Maps a transport error to
unreachable. - fromJson(String) - Static method in class codes.grow.packages.betterstack.logging.LogRecordJson
-
Parses one record from JSON text.
- fromJsonNode(JsonNode) - Static method in class codes.grow.packages.betterstack.logging.LogRecordJson
-
Parses one record from a Jackson tree.
- fromNumber(int) - Static method in enum class codes.grow.packages.betterstack.logging.Severity
-
Maps any OpenTelemetry severity number (1–24) to its severity range; 0 or less maps to
Severity.INFO(unspecified) and numbers above 24 toSeverity.FATAL. - fromResponse(TransportResponse) - Static method in class codes.grow.packages.betterstack.core.HealthCheck
-
Maps a health response: 2xx is healthy; the word comes from a JSON
statusfield (ok/unhealthywhen absent); other string fields become details.
G
- get(String) - Static method in class codes.grow.packages.betterstack.core.TransportRequest
-
Starts a GET request.
- getLogClient() - Method in class codes.grow.packages.betterstack.logging.GrowLogbackAppender
-
Returns the destination.
- GrowJulHandler - Class in codes.grow.packages.betterstack.logging
-
java.util.logginghandler that forwards records to aLogClient. - GrowJulHandler(LogClient) - Constructor for class codes.grow.packages.betterstack.logging.GrowJulHandler
-
Creates the handler.
- GrowLog4j2Appender - Class in codes.grow.packages.betterstack.logging
-
Log4j 2 appender plugin (
<GrowLog name="grow"/>) that forwards events to aLogClient(Log4j is an optional,provideddependency). - GrowLogbackAppender - Class in codes.grow.packages.betterstack.logging
-
Logback appender that forwards events to a
LogClient(Logback is an optional,provideddependency). - GrowLogbackAppender() - Constructor for class codes.grow.packages.betterstack.logging.GrowLogbackAppender
-
Creates an appender without a client (set it with
GrowLogbackAppender.setLogClient(codes.grow.packages.betterstack.logging.LogClient)). - GrowLogbackAppender(LogClient) - Constructor for class codes.grow.packages.betterstack.logging.GrowLogbackAppender
-
Creates an appender for
client. - gzip() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Whether exports are gzipped (default true).
- gzip() - Method in record class codes.grow.packages.betterstack.logging.ExportOptions
-
Returns the value of the
gziprecord component. - gzip() - Method in record class codes.grow.packages.betterstack.SendEventsOptions
-
Returns the value of the
gziprecord component. - gzip(boolean) - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Enables or disables gzip.
- gzipFlags() - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogExporter
-
Gzip flags of all export calls.
H
- hashCode() - Method in record class codes.grow.packages.betterstack.BetterStackLogExporterOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.BetterStackOtlpLogExporterOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.core.HealthStatus
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.core.Hooks.ErrorInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.core.Hooks.RequestInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.core.Hooks.ResponseInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.logging.BatchStats
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.logging.ExportOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.logging.ExportResult
-
Returns a hash code value for this object.
- hashCode() - Method in class codes.grow.packages.betterstack.logging.LogRecord
- hashCode() - Method in record class codes.grow.packages.betterstack.logging.LogSearchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.logging.TailOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.OtlpLogs.PartialSuccess
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.QueryOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.SendEventsOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.ScenarioResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.StepResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.testing.logging.LoggingTarget
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.testing.Scenario
-
Returns a hash code value for this object.
- hashCode() - Method in record class codes.grow.packages.betterstack.testing.Scenario.Step
-
Returns a hash code value for this object.
- hasIngest() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Whether the ingest side (
urlandsourceToken) is configured. - hasQuery() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Whether the SQL query side (
queryUrl,queryUsernameandqueryPassword) is configured. - header(String) - Method in class codes.grow.packages.betterstack.core.TransportResponse
-
Returns the first value of a header.
- header(String, String) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Adds a header.
- header(String, String) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Adds a header sent with every request to both hosts.
- header(String, String) - Method in class codes.grow.packages.betterstack.core.TransportRequest.Builder
-
Sets a header.
- headers() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the extra request headers.
- headers() - Method in record class codes.grow.packages.betterstack.core.Hooks.RequestInfo
-
Returns the value of the
headersrecord component. - headers() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the extra headers sent with every request.
- headers() - Method in class codes.grow.packages.betterstack.core.TransportRequest
-
Returns the request headers.
- headers() - Method in class codes.grow.packages.betterstack.core.TransportResponse
-
Returns the response headers (case-insensitive keys).
- headers(Map<String, String>) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Adds headers sent with every request.
- health() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
Unauthenticated liveness check that never sends data.
- health() - Method in interface codes.grow.packages.betterstack.testing.CoreTarget
-
Checks liveness; never throws for an unhealthy service.
- healthAsync() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
Asynchronous
BetterStackClient.health(). - HealthCheck - Class in codes.grow.packages.betterstack.core
-
Implements the
health()contract (SPEC section 2.4): never throws for an unhealthy or unreachable service, only forCancelledExceptionandConfigException. - HealthStatus - Record Class in codes.grow.packages.betterstack.core
-
Result of
health()(SPEC section 2.4). - HealthStatus(boolean, String, Map<String, String>) - Constructor for record class codes.grow.packages.betterstack.core.HealthStatus
-
Creates a status; details are copied.
- healthy() - Method in record class codes.grow.packages.betterstack.core.HealthStatus
-
Returns the value of the
healthyrecord component. - hooks() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the hooks.
- hooks() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the hooks.
- hooks(Hooks) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets hooks.
- hooks(Hooks) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets request hooks.
- hooks(Hooks) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets the hooks.
- Hooks - Interface in codes.grow.packages.betterstack.core
-
Callbacks invoked for every HTTP attempt (SPEC section 2.5).
- Hooks.ErrorInfo - Record Class in codes.grow.packages.betterstack.core
- Hooks.RequestInfo - Record Class in codes.grow.packages.betterstack.core
- Hooks.ResponseInfo - Record Class in codes.grow.packages.betterstack.core
- HTTP - Enum constant in enum class codes.grow.packages.betterstack.LogProtocol
-
Better Stack HTTP ingest API (
POST /, JSON / NDJSON / MessagePack). - httpStatus() - Method in exception class codes.grow.packages.betterstack.core.BetterStackException
-
Returns the HTTP status when the error came from a response.
- HttpTransport - Class in codes.grow.packages.betterstack.core
-
The HTTP engine shared by every client of the SDK (SPEC section 2.3), built on
HttpClient. - HttpTransport(TransportConfig) - Constructor for class codes.grow.packages.betterstack.core.HttpTransport
-
Creates a transport.
I
- id() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
idrecord component. - id() - Method in record class codes.grow.packages.betterstack.testing.Scenario
-
Returns the value of the
idrecord component. - idempotent() - Method in class codes.grow.packages.betterstack.core.TransportRequest
-
Returns whether the request may be replayed after an uncertain send.
- idempotent(boolean) - Method in class codes.grow.packages.betterstack.core.TransportRequest.Builder
-
Marks the request idempotent (or not), overriding the method default.
- IDENTIFIER_PATTERN - Static variable in class codes.grow.packages.betterstack.BetterStackConfig
-
Collection (table) names are identifiers: they cannot be bound as SQL parameters.
- index() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.StepResult
-
Returns the value of the
indexrecord component. - info(String) - Method in interface codes.grow.packages.betterstack.core.Logger
-
Logs at info level without fields.
- info(String) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at INFO.
- info(String, Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at INFO.
- info(String, Map<String, Object>) - Method in interface codes.grow.packages.betterstack.core.Logger
-
Logs at info level.
- INFO - Enum constant in enum class codes.grow.packages.betterstack.logging.Severity
-
OTel severity 9.
- IngestEncoding - Enum Class in codes.grow.packages.betterstack
-
Body encodings accepted by
POST /on a Better Stack source's ingesting host. - ingestTransportConfig() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Transport settings of the ingest side (
baseUrl=BetterStackConfig.url()). - initialBackoff() - Method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Returns the backoff cap for the first retry.
- initialBackoff(Duration) - Method in class codes.grow.packages.betterstack.core.RetryPolicy.Builder
-
Sets the backoff cap of the first retry.
- InMemoryLogExporter - Class in codes.grow.packages.betterstack.testing.logging
-
LogExporterthat keeps every accepted record in memory. - InMemoryLogExporter() - Constructor for class codes.grow.packages.betterstack.testing.logging.InMemoryLogExporter
-
Creates an empty exporter.
- InMemoryLogQueryClient - Class in codes.grow.packages.betterstack.testing.logging
-
LogQueryClientover in-memory records (usuallyInMemoryLogExporter.records()). - InMemoryLogQueryClient(InMemoryLogExporter) - Constructor for class codes.grow.packages.betterstack.testing.logging.InMemoryLogQueryClient
-
Reads the records of an exporter.
- InMemoryLogQueryClient(Supplier<List<LogRecord>>) - Constructor for class codes.grow.packages.betterstack.testing.logging.InMemoryLogQueryClient
-
Reads records from a supplier.
- insecureSkipVerify() - Method in class codes.grow.packages.betterstack.core.TlsOptions
-
Returns whether certificate and host name verification is disabled (tests only).
- insecureSkipVerify(boolean) - Method in class codes.grow.packages.betterstack.core.TlsOptions.Builder
-
Disables certificate and host name verification.
- install(LoggerContext, LogClient) - Static method in class codes.grow.packages.betterstack.logging.GrowLogbackAppender
-
Creates, starts and attaches an appender named
"GROW"to the root logger. - integer(String, String...) - Method in class codes.grow.packages.betterstack.core.EnvReader
-
Reads an integer.
- interval() - Method in record class codes.grow.packages.betterstack.logging.TailOptions
-
Returns the value of the
intervalrecord component. - interval() - Method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Returns the value of the
intervalrecord component. - intervalOr(Duration) - Method in record class codes.grow.packages.betterstack.logging.TailOptions
-
Returns the caller's interval, or
serviceDefaultwhen it was left unset. - intervalOr(Duration) - Method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Returns the caller's interval, or
serviceDefaultwhen it was left unset. - isCleared() - Method in class codes.grow.packages.betterstack.core.Secret
-
Returns whether
Secret.clear()was called. - isClosed() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
Returns whether
BetterStackClient.close()was called. - isClosed() - Method in class codes.grow.packages.betterstack.core.HttpTransport
-
Returns whether
HttpTransport.close()was called. - isCustom() - Method in class codes.grow.packages.betterstack.core.TlsOptions
-
Returns whether any option differs from the system defaults.
- isEmpty() - Method in class codes.grow.packages.betterstack.core.Secret
-
Returns whether the value is empty.
- isEnabled(Severity) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Whether records of this severity are sent.
- isSensitive(String) - Method in class codes.grow.packages.betterstack.logging.RedactionProcessor
-
Whether an attribute name matches one of the keys.
- isSensitiveField(String, Collection<String>) - Static method in class codes.grow.packages.betterstack.core.Redaction
-
Returns whether a field or query parameter name is sensitive (case-insensitive substring).
- isSensitiveHeader(String) - Static method in class codes.grow.packages.betterstack.core.Redaction
-
Returns whether a header name is sensitive (case-insensitive).
- isValidIdentifier(String) - Static method in class codes.grow.packages.betterstack.BetterStackConfig
-
Whether
sis a safe ClickHouse identifier (^[A-Za-z_][A-Za-z0-9_]*$), the rule for collections (source tables).
J
- json(TypeReference<T>) - Method in class codes.grow.packages.betterstack.core.TransportResponse
-
Decodes the JSON body into a generic type.
- json(Class<T>) - Method in class codes.grow.packages.betterstack.core.TransportResponse
-
Decodes the JSON body.
- json(Object) - Method in class codes.grow.packages.betterstack.core.TransportRequest.Builder
-
Sets a JSON body encoded with Jackson.
- Json - Class in codes.grow.packages.betterstack.core
-
Shared Jackson configuration of the SDK.
- JSON - Enum constant in enum class codes.grow.packages.betterstack.IngestEncoding
-
One JSON array per request (
application/json). - JSON - Enum constant in enum class codes.grow.packages.betterstack.OtlpProtocol
-
OTLP/HTTP JSON (
application/json). - jsonEscape(String) - Static method in class codes.grow.packages.betterstack.BetterStackQuery
-
Escapes text like a JSON string value without the surrounding quotes (quote, backslash and control characters), as it appears inside the raw event JSON.
- jsonNode() - Method in class codes.grow.packages.betterstack.core.TransportResponse
-
Parses the JSON body into a tree.
- jsonRequest(List<LogRecord>, String) - Static method in class codes.grow.packages.betterstack.OtlpLogs
-
Builds the OTLP/JSON
ExportLogsServiceRequestobject. - JUnitConformance - Class in codes.grow.packages.betterstack.testing
-
JUnit 5 adapter: one dynamic test per scenario.
K
- KEY - Static variable in class codes.grow.packages.betterstack.core.SdkInfo
-
Catalog key of the service, e.g.
- keys(Collection<String>) - Method in class codes.grow.packages.betterstack.logging.RedactionProcessor.Builder
-
Replaces the sensitive key fragments.
- knownSecrets() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Credential values to redact from error messages and logs (source token, query password and the Basic credential).
- knownSecrets() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the secret values removed from every error message, hook and log line.
- knownSecrets(Supplier<Collection<String>>) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets the supplier of secret values to redact from errors, hooks and logs.
L
- LANGUAGE - Static variable in class codes.grow.packages.betterstack.core.SdkInfo
-
Language token in the
User-Agent. - limit() - Method in class codes.grow.packages.betterstack.logging.SearchOptions
-
Maximum records per page.
- limit() - Method in class codes.grow.packages.betterstack.SearchLogsOptions
-
Records per page, 1 to 10000 (default 100).
- limit(int) - Method in class codes.grow.packages.betterstack.logging.SearchOptions.Builder
-
Sets the page size.
- limit(int) - Method in class codes.grow.packages.betterstack.SearchLogsOptions.Builder
-
Sets the page size.
- listLabels() - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Better Stack events are schemaless JSON without labels.
- listLabels() - Method in interface codes.grow.packages.betterstack.logging.LogQueryClient
-
Lists the label or field names of the service.
- listLabels() - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogQueryClient
- listLabelsAsync() - Method in interface codes.grow.packages.betterstack.logging.LogQueryClient
-
Asynchronous
LogQueryClient.listLabels(). - listStreams() - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
The configured collections:
[sourceTable], or empty. - listStreams() - Method in interface codes.grow.packages.betterstack.logging.LogQueryClient
-
Lists the log streams (indexes, streams, data sets) of the service.
- listStreams() - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogQueryClient
- listStreamsAsync() - Method in interface codes.grow.packages.betterstack.logging.LogQueryClient
-
Asynchronous
LogQueryClient.listStreams(). - log(Severity, String, Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs a message.
- logClient() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
A batching log client over the HTTP ingest API with default options.
- logClient(BetterStackLogClientOptions) - Method in class codes.grow.packages.betterstack.BetterStackClient
-
A batching log client over the HTTP ingest API (
LogProtocol.HTTP, default) or OTLP. - logClient(LogExporter, BetterStackLogClientOptions) - Method in class codes.grow.packages.betterstack.BetterStackClient
-
A batching log client over any exporter (for example
BetterStackClient.newExporter(codes.grow.packages.betterstack.BetterStackLogExporterOptions)). - LogClient - Interface in codes.grow.packages.betterstack.logging
-
Sends log records to the service in the background.
- LogEntry - Interface in codes.grow.packages.betterstack.logging
- LogExporter - Interface in codes.grow.packages.betterstack.logging
-
Sends batches of log records to the service.
- logger() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the logger.
- logger() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the logger.
- logger() - Method in interface codes.grow.packages.betterstack.logging.LogClient
-
Returns a logger facade without a name.
- logger(Logger) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the logger.
- logger(Logger) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the logger (default silent).
- logger(Logger) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets the logger.
- logger(String) - Method in interface codes.grow.packages.betterstack.logging.LogClient
-
Returns a named logger facade.
- logger(String, Map<String, ?>) - Method in interface codes.grow.packages.betterstack.logging.LogClient
-
Returns a named logger facade with fixed attributes.
- Logger - Class in codes.grow.packages.betterstack.logging
-
Small logging facade on top of a
LogClient. - Logger - Interface in codes.grow.packages.betterstack.core
-
Minimal logger used by the transport (SPEC section 2.5).
- Logger(LogClient, String, Map<String, ?>, Severity) - Constructor for class codes.grow.packages.betterstack.logging.Logger
-
Creates a logger.
- LoggingOps - Class in codes.grow.packages.betterstack.testing.logging
-
Conformance operations of the
loggingcategory:send,sendBatch,flush,searchUntil,stats. - LoggingOps() - Constructor for class codes.grow.packages.betterstack.testing.logging.LoggingOps
-
Creates the operations.
- LoggingTarget - Record Class in codes.grow.packages.betterstack.testing.logging
-
Target of the
loggingconformance scenarios: the client that sends and the (optional) query client that reads back. - LoggingTarget(LogClient, Optional<LogQueryClient>) - Constructor for record class codes.grow.packages.betterstack.testing.logging.LoggingTarget
-
Validates the target.
- LogInput - Class in codes.grow.packages.betterstack.logging
-
Short form of a log record: a message plus optional severity, attributes, timestamp and trace ids.
- LogInput.Builder - Class in codes.grow.packages.betterstack.logging
-
Builder for
LogInput. - LogProtocol - Enum Class in codes.grow.packages.betterstack
-
Wire protocol of a
BetterStackClient.logClient(BetterStackLogClientOptions). - LogQueryClient - Interface in codes.grow.packages.betterstack.logging
-
Reads logs back from the service.
- LogRecord - Class in codes.grow.packages.betterstack.logging
-
One immutable log record in the normalized SDK form (OpenTelemetry log data model).
- LogRecord.Builder - Class in codes.grow.packages.betterstack.logging
-
Builder for
LogRecord. - logRecordFromRow(Map<String, ?>) - Static method in class codes.grow.packages.betterstack.BetterStackQuery
-
Normalizes a
{dt, raw}row into aLogRecord:body=message(elsemsg, else the raw text); severity fromseverity_number, elselevel/severitytext (default INFO), with the canonical text when the level is known; timestamp fromdt(else the event'sdt); trace ids fromspan.trace_id/span.span_id(else top-leveltrace_id/span_id, hex only);resourcefromresource; every other key plus theattributesobject into attributes. - LogRecordJson - Class in codes.grow.packages.betterstack.logging
-
Converts
LogRecordto and from the normalized JSON wire form (spec/schemas/log-record.schema.json). - LogSearchResult - Record Class in codes.grow.packages.betterstack.logging
- LogSearchResult(List<LogRecord>, Optional<String>, OptionalLong) - Constructor for record class codes.grow.packages.betterstack.logging.LogSearchResult
-
Copies the list and replaces
nulloptionals by empty ones.
M
- map(TransportResponse, BetterStackException) - Method in interface codes.grow.packages.betterstack.core.ErrorMapper
-
Maps a failed response.
- mapIngestError(Throwable, String) - Static method in class codes.grow.packages.betterstack.BetterStackErrors
-
Maps an ingest-host failure (see the class description).
- mapper() - Static method in class codes.grow.packages.betterstack.core.Json
-
Returns the shared mapper.
- mapQueryError(Throwable, String) - Static method in class codes.grow.packages.betterstack.BetterStackErrors
-
Maps a SQL-host failure by the ClickHouse code found in its message; otherwise the error is returned unchanged.
- matches(String, LogRecord) - Static method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogQueryClient
-
Whether a record matches a query.
- MAX_LIMIT - Static variable in class codes.grow.packages.betterstack.BetterStackQuery
-
Largest page size.
- MAX_RECORD_BYTES - Static variable in class codes.grow.packages.betterstack.BetterStackLogExporter
-
Better Stack limit for one record (uncompressed): 10 MiB.
- MAX_REQUEST_BYTES - Static variable in class codes.grow.packages.betterstack.BetterStackLogExporter
-
Better Stack limit for one request body (measured compressed): 10 MiB.
- MAX_VENDOR_TEXT - Static variable in class codes.grow.packages.betterstack.core.Redaction
-
Maximum length of vendor error text kept in error messages.
- maxBackoff() - Method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Returns the upper bound of any backoff.
- maxBackoff(Duration) - Method in class codes.grow.packages.betterstack.core.RetryPolicy.Builder
-
Sets the upper bound of every backoff.
- maxBatchBytes() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Maximum UTF-8 JSON bytes per export (default 1 048 576).
- maxBatchBytes(int) - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Sets the batch byte limit.
- maxBatchSize() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Maximum records per export (default 512).
- maxBatchSize(int) - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Sets the batch size.
- maxExportRetries() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Export attempts repeated after a retryable failure (default 2).
- maxExportRetries(int) - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Sets how often a batch is re-exported after a retryable failure.
- maxQueueSize() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Maximum number of queued records (default 2048).
- maxQueueSize(int) - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Sets the queue size.
- maxRecordBytes() - Method in class codes.grow.packages.betterstack.BetterStackLogExporter
-
Returns the encoded size limit of one record.
- maxRecordBytes() - Method in record class codes.grow.packages.betterstack.BetterStackLogExporterOptions
-
Returns the value of the
maxRecordBytesrecord component. - maxRequestBytes() - Method in class codes.grow.packages.betterstack.BetterStackLogExporter
-
Returns the uncompressed size limit of one request.
- maxRequestBytes() - Method in record class codes.grow.packages.betterstack.BetterStackLogExporterOptions
-
Returns the value of the
maxRequestBytesrecord component. - maxRequestBytes() - Method in record class codes.grow.packages.betterstack.BetterStackOtlpLogExporterOptions
-
Returns the value of the
maxRequestBytesrecord component. - maxRetries() - Method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Returns the maximum number of retries after the first attempt.
- maxRetries() - Method in class codes.grow.packages.betterstack.core.TransportRequest
-
Returns the retry limit override.
- maxRetries(int) - Method in class codes.grow.packages.betterstack.core.RetryPolicy.Builder
-
Sets the maximum number of retries.
- maxRetries(int) - Method in class codes.grow.packages.betterstack.core.TransportRequest.Builder
-
Overrides the retry limit for this call.
- maxRetryAfter() - Method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Returns the longest
Retry-Afterwait the client accepts. - maxRetryAfter(Duration) - Method in class codes.grow.packages.betterstack.core.RetryPolicy.Builder
-
Sets the longest accepted
Retry-After. - MEMORY_HINT - Static variable in class codes.grow.packages.betterstack.BetterStackErrors
-
Hint appended to ClickHouse
MEMORY_LIMIT_EXCEEDED(241) errors. - merge(Map<String, ?>...) - Static method in class codes.grow.packages.betterstack.logging.AttrValues
-
Merges attribute maps; later maps win on key collisions.
- message() - Method in class codes.grow.packages.betterstack.logging.LogInput
-
Message.
- message() - Method in record class codes.grow.packages.betterstack.OtlpLogs.PartialSuccess
-
Returns the value of the
messagerecord component. - message() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.StepResult
-
Returns the value of the
messagerecord component. - MessagePack - Class in codes.grow.packages.betterstack
-
Minimal MessagePack encoder for Better Stack ingest bodies (no dependency).
- method() - Method in record class codes.grow.packages.betterstack.core.Hooks.ErrorInfo
-
Returns the value of the
methodrecord component. - method() - Method in record class codes.grow.packages.betterstack.core.Hooks.RequestInfo
-
Returns the value of the
methodrecord component. - method() - Method in record class codes.grow.packages.betterstack.core.Hooks.ResponseInfo
-
Returns the value of the
methodrecord component. - method() - Method in class codes.grow.packages.betterstack.core.TransportRequest
-
Returns the HTTP method.
- minSeverity() - Method in class codes.grow.packages.betterstack.logging.Logger
-
Minimum severity.
- MSGPACK - Enum constant in enum class codes.grow.packages.betterstack.IngestEncoding
-
One MessagePack array per request (
application/msgpack);dtis a MessagePack timestamp extension (type -1). - multiplier() - Method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Returns the exponential growth factor.
- multiplier(double) - Method in class codes.grow.packages.betterstack.core.RetryPolicy.Builder
-
Sets the exponential growth factor.
N
- name() - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logger name.
- NAME_ATTRIBUTE - Static variable in class codes.grow.packages.betterstack.logging.Logger
-
Attribute that carries the logger name.
- NDJSON - Enum constant in enum class codes.grow.packages.betterstack.IngestEncoding
-
One JSON object per line (
application/x-ndjson). - newExporter(BetterStackLogExporterOptions) - Method in class codes.grow.packages.betterstack.BetterStackClient
-
A new HTTP ingest exporter with its own encoding and limits (use it with
BetterStackClient.logClient(LogExporter, BetterStackLogClientOptions)). - newOtlpExporter(BetterStackOtlpLogExporterOptions) - Method in class codes.grow.packages.betterstack.BetterStackClient
-
A new OTLP exporter with its own payload format, scope name and request limit.
- nextCursor() - Method in record class codes.grow.packages.betterstack.logging.LogSearchResult
-
Returns the value of the
nextCursorrecord component. - none() - Static method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Returns a policy that never retries.
- NONE - Static variable in interface codes.grow.packages.betterstack.core.ErrorMapper
-
Keeps the default error.
- NONE - Static variable in interface codes.grow.packages.betterstack.core.Hooks
-
Hooks that do nothing.
- NOOP - Static variable in interface codes.grow.packages.betterstack.core.Logger
-
A logger that discards everything.
- normalize(Object) - Static method in class codes.grow.packages.betterstack.logging.AttrValues
-
Returns the normalised, deeply immutable form of
value. - normalizeBaseUrl(String) - Static method in class codes.grow.packages.betterstack.BetterStackConfig
-
Normalizes a host or URL: a value containing
://is used as given, a barehost[:port]becomeshttps://host[:port]; trailing slashes are removed. - normalizeMap(Map<?, ?>) - Static method in class codes.grow.packages.betterstack.logging.AttrValues
-
Normalises every value of a map; keys become strings.
- NOT_FOUND - Enum constant in enum class codes.grow.packages.betterstack.core.ErrorCode
-
HTTP 404 or a missing record.
- NotFoundException - Exception Class in codes.grow.packages.betterstack.core
-
The record does not exist (HTTP 404).
- NotFoundException(String) - Constructor for exception class codes.grow.packages.betterstack.core.NotFoundException
-
Creates the exception.
- NotFoundException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.NotFoundException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - NotFoundException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.NotFoundException
-
Creates the exception with response details.
- NotFoundException(String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.NotFoundException
-
Creates the exception with a cause.
- number() - Method in enum class codes.grow.packages.betterstack.logging.Severity
-
Returns the OpenTelemetry severity number.
O
- observedTimestamp() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
Time the SDK observed the record.
- observedTimestamp(Instant) - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Sets the observed time.
- of(char[]) - Static method in class codes.grow.packages.betterstack.core.Secret
-
Wraps a copy of a character array; the caller may clear its own array afterwards.
- of(ErrorCode, String, Integer, String, boolean, Duration, Throwable) - Static method in exception class codes.grow.packages.betterstack.core.BetterStackException
-
Like
BetterStackException.of(ErrorCode, String, Integer, String, Duration, Throwable)with an explicitretryableflag instead of the default of the code. - of(ErrorCode, String, Integer, String, Duration, Throwable) - Static method in exception class codes.grow.packages.betterstack.core.BetterStackException
-
Creates the subclass that matches
code. - of(IngestEncoding) - Static method in record class codes.grow.packages.betterstack.BetterStackLogExporterOptions
-
Options with an explicit encoding and default limits.
- of(LogClient, LogQueryClient) - Static method in record class codes.grow.packages.betterstack.testing.logging.LoggingTarget
-
Creates a target.
- of(Severity, String, Map<String, ?>) - Static method in class codes.grow.packages.betterstack.logging.LogInput
-
Creates an input with a severity and attributes.
- of(OtlpProtocol) - Static method in record class codes.grow.packages.betterstack.BetterStackOtlpLogExporterOptions
-
Defaults with another payload format.
- of(Object) - Static method in class codes.grow.packages.betterstack.testing.OpResult
-
Wraps a value.
- of(String) - Static method in class codes.grow.packages.betterstack.core.Secret
-
Wraps a string value.
- of(String) - Static method in class codes.grow.packages.betterstack.logging.LogInput
-
Creates an INFO input with no attributes.
- of(Throwable) - Static method in enum class codes.grow.packages.betterstack.core.ErrorCode
-
Returns the code of an SDK exception.
- of(Duration, Duration) - Static method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Options with a timeout and interval.
- of(List<LogRecord>) - Static method in record class codes.grow.packages.betterstack.logging.LogSearchResult
-
A single page without cursor or total.
- of(Map<String, String>) - Static method in class codes.grow.packages.betterstack.core.EnvReader
-
Creates a reader with
EnvReader.DEFAULT_PREFIXover an explicit map. - ok() - Static method in record class codes.grow.packages.betterstack.core.HealthStatus
-
A healthy
okstatus without details. - onDrop() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Drop callback.
- onDrop(BiConsumer<List<LogRecord>, DropReason>) - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Sets the drop callback (exceptions it throws are ignored).
- onError() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Export error callback.
- onError() - Method in record class codes.grow.packages.betterstack.logging.TailOptions
-
Returns the value of the
onErrorrecord component. - onError(Hooks.ErrorInfo) - Method in interface codes.grow.packages.betterstack.core.Hooks
-
Called when an attempt failed (network error, timeout or error status).
- onError(BiConsumer<Throwable, List<LogRecord>>) - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Sets the export error callback (exceptions it throws are ignored).
- only(String...) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Restricts the run to these scenario ids.
- onRequest(Hooks.RequestInfo) - Method in interface codes.grow.packages.betterstack.core.Hooks
-
Called before each attempt.
- onResponse(Hooks.ResponseInfo) - Method in interface codes.grow.packages.betterstack.core.Hooks
-
Called when an attempt received a response (any status).
- op() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.StepResult
-
Returns the value of the
oprecord component. - op() - Method in record class codes.grow.packages.betterstack.testing.Scenario.Step
-
Returns the value of the
oprecord component. - op(String, String, OpHandler) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Registers one operation.
- operation() - Method in class codes.grow.packages.betterstack.core.TransportRequest
-
Returns the operation name used in error messages.
- operation(String) - Method in class codes.grow.packages.betterstack.core.TransportRequest.Builder
-
Sets the operation name used in error messages.
- OpHandler - Interface in codes.grow.packages.betterstack.testing
-
Executes one scenario step and returns its result (or an
OpResult). - OpResult - Class in codes.grow.packages.betterstack.testing
-
A step result with optional extra views for the expectations
countandtree. - ops() - Method in interface codes.grow.packages.betterstack.testing.ConformanceOps
-
Returns the handlers by operation name.
- ops() - Method in class codes.grow.packages.betterstack.testing.CoreOps
- ops() - Method in class codes.grow.packages.betterstack.testing.logging.LoggingOps
- optArg(String) - Method in class codes.grow.packages.betterstack.testing.StepContext
-
Returns an optional argument.
- options() - Method in class codes.grow.packages.betterstack.logging.BatchProcessor
-
The options.
- order() - Method in class codes.grow.packages.betterstack.logging.SearchOptions
-
Order.
- order() - Method in class codes.grow.packages.betterstack.SearchLogsOptions
-
Order by
dt(default newest first). - order(SortOrder) - Method in class codes.grow.packages.betterstack.logging.SearchOptions.Builder
-
Sets the order.
- order(SortOrder) - Method in class codes.grow.packages.betterstack.SearchLogsOptions.Builder
-
Sets the order.
- otlp() - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions
-
Options of the OTLP exporter (protocol
LogProtocol.OTLP). - otlp(BetterStackOtlpLogExporterOptions) - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions.Builder
-
Sets the OTLP exporter options.
- OTLP - Enum constant in enum class codes.grow.packages.betterstack.LogProtocol
-
OTLP/HTTP logs (
POST /v1/logs, protobuf or JSON). - OTLP_LOGS_PATH - Static variable in class codes.grow.packages.betterstack.BetterStackOtlpLogExporter
-
OTLP logs path on the ingesting host.
- otlpExporter() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
The OTLP/HTTP logs exporter (protobuf,
/v1/logs). - OtlpLogs - Class in codes.grow.packages.betterstack
-
OTLP logs encoding without dependencies:
ExportLogsServiceRequestas protobuf (field numbers of opentelemetry-protocollector/logs/v1andlogs/v1) or as OTLP/JSON, andpartial_successparsing of the response. - OtlpLogs.PartialSuccess - Record Class in codes.grow.packages.betterstack
-
Partial success reported by an OTLP response.
- OtlpProtocol - Enum Class in codes.grow.packages.betterstack
-
Payload format of
BetterStackOtlpLogExporter.
P
- parse(JsonNode) - Static method in record class codes.grow.packages.betterstack.testing.Scenario
-
Parses a scenario document.
- parse(String) - Static method in enum class codes.grow.packages.betterstack.IngestEncoding
-
Parses a configuration value (case-insensitive, surrounding blanks ignored).
- parse(String) - Static method in enum class codes.grow.packages.betterstack.logging.Severity
-
Parses a severity text case-insensitively.
- parseBool(String) - Static method in class codes.grow.packages.betterstack.core.EnvReader
-
Parses a boolean:
true/false/1/0/yes/no/on/off, case-insensitive. - parseDateTime(Object) - Static method in class codes.grow.packages.betterstack.BetterStackQuery
-
Parses a
dtvalue: ClickHouseDateTime64text (2026-11-18 21:00:00.123456, UTC, 0 to 9 fraction digits), an RFC 3339 string, UNIX seconds or milliseconds, or anInstant. - parseDuration(String) - Static method in class codes.grow.packages.betterstack.core.EnvReader
-
Parses a duration: integer milliseconds (
1500) or Go-style units (500ms,10s,2m,1h,1m30s). - parsePartialSuccess(byte[]) - Static method in class codes.grow.packages.betterstack.OtlpLogs
-
Reads
partial_successfrom a protobufExportLogsServiceResponse. - parsePartialSuccessJson(byte[]) - Static method in class codes.grow.packages.betterstack.OtlpLogs
-
Reads
partialSuccessfrom an OTLP/JSON response body. - parseRateLimitReset(String, Instant) - Static method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Parses a vendor rate-limit reset header such as
X-RateLimit-Reset: delay seconds (decimals allowed), Unix epoch seconds (values of at least1000000000) or an HTTP-date. - parseRetryAfter(String, Instant) - Static method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Parses a
Retry-Afterheader: delay seconds or an HTTP-date. - parseRows(String) - Static method in class codes.grow.packages.betterstack.BetterStackQuery
-
Parses a JSON-family response body (
JSONEachRow, a JSON array of rows orFORMAT JSON) into rows. - PartialSuccess(long, String) - Constructor for record class codes.grow.packages.betterstack.OtlpLogs.PartialSuccess
-
Creates an instance of a
PartialSuccessrecord class. - passed() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport
-
Returns whether no scenario failed.
- PASSED - Enum constant in enum class codes.grow.packages.betterstack.testing.ConformanceReport.Status
-
Every expectation held.
- path() - Method in class codes.grow.packages.betterstack.core.TransportRequest
-
Returns the path.
- pattern(Pattern) - Method in class codes.grow.packages.betterstack.logging.RedactionProcessor.Builder
-
Adds a pattern applied to the body and string attribute values.
- PERMISSION_DENIED - Enum constant in enum class codes.grow.packages.betterstack.core.ErrorCode
-
HTTP 403: the credentials lack a permission.
- PermissionDeniedException - Exception Class in codes.grow.packages.betterstack.core
-
The credentials lack a permission (HTTP 403).
- PermissionDeniedException(String) - Constructor for exception class codes.grow.packages.betterstack.core.PermissionDeniedException
-
Creates the exception.
- PermissionDeniedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.PermissionDeniedException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - PermissionDeniedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.PermissionDeniedException
-
Creates the exception with response details.
- PermissionDeniedException(String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.PermissionDeniedException
-
Creates the exception with a cause.
- ping() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
Authenticated round trip.
- ping() - Method in interface codes.grow.packages.betterstack.testing.CoreTarget
-
Performs an authenticated round trip.
- pingAsync() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
Asynchronous
BetterStackClient.ping(). - PLUGIN_NAME - Static variable in class codes.grow.packages.betterstack.logging.GrowLog4j2Appender
-
Plugin element name in
log4j2.xml. - poll(String, Duration) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Repeats a failing step of
opuntil its expectation passes ortimeout(or the step'stimeoutMsargument) runs out, for eventually consistent backends. - Poll - Class in codes.grow.packages.betterstack.core
-
Generic polling helper (
pollUntil): used bywaitForLog,waitForTraceand service waiters. - pollInterval(Duration) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Sets the pause between repeated steps (default
ConformanceRunner.DEFAULT_POLL_INTERVAL). - post(String) - Static method in class codes.grow.packages.betterstack.core.TransportRequest
-
Starts a POST request.
- predicate() - Method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Returns the value of the
predicaterecord component. - prefix(String) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Sets the
${prefix}template (may contain${run}). - process(LogRecord) - Method in class codes.grow.packages.betterstack.logging.RedactionProcessor
-
Returns a redacted copy of the record.
- processor() - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient
-
The underlying processor.
- PROTOBUF - Enum constant in enum class codes.grow.packages.betterstack.OtlpProtocol
-
OTLP/HTTP protobuf (
application/x-protobuf). - protocol() - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions
-
Wire protocol.
- protocol() - Method in class codes.grow.packages.betterstack.BetterStackOtlpLogExporter
-
Returns the payload format.
- protocol() - Method in record class codes.grow.packages.betterstack.BetterStackOtlpLogExporterOptions
-
Returns the value of the
protocolrecord component. - protocol(LogProtocol) - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions.Builder
-
Sets the wire protocol.
- proxy() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the explicit proxy URL.
- proxy() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the proxy URL.
- proxy(String) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the proxy URL.
- proxy(String) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets an explicit proxy URL; environment proxies (
HTTPS_PROXY) are never used. - proxy(String) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets an explicit HTTP proxy URL, e.g.
- publish(LogRecord) - Method in class codes.grow.packages.betterstack.logging.GrowJulHandler
- put(String) - Static method in class codes.grow.packages.betterstack.core.TransportRequest
-
Starts a PUT request.
Q
- query() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
The SQL query client (also the
LogQueryClient). - query() - Method in class codes.grow.packages.betterstack.core.TransportRequest
-
Returns the query parameters in insertion order.
- query() - Method in record class codes.grow.packages.betterstack.testing.logging.LoggingTarget
-
Returns the value of the
queryrecord component. - query(String) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Runs SQL and returns the rows.
- query(String, Object) - Method in class codes.grow.packages.betterstack.core.TransportRequest.Builder
-
Adds a query parameter (repeatable).
- query(String, Map<String, ?>) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Runs SQL with bound parameters and returns the rows.
- query(String, Map<String, ?>, QueryOptions) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Runs SQL and returns the rows.
- QUERY_PASSWORD_VENDOR_VARS - Static variable in class codes.grow.packages.betterstack.BetterStackConfig
-
Vendor variables read for
queryPassword. - QUERY_URL_VENDOR_VARS - Static variable in class codes.grow.packages.betterstack.BetterStackConfig
-
Vendor variables read for
queryUrl, in order. - QUERY_USERNAME_VENDOR_VARS - Static variable in class codes.grow.packages.betterstack.BetterStackConfig
-
Vendor variables read for
queryUsername. - queryAsync(String, Map<String, ?>, QueryOptions) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Asynchronous
BetterStackQuery.query(String, Map, QueryOptions). - QueryOptions - Record Class in codes.grow.packages.betterstack
- QueryOptions(Map<String, Object>) - Constructor for record class codes.grow.packages.betterstack.QueryOptions
-
Copies the settings.
- queryPassword() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the SQL connection password.
- queryPassword(Secret) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the SQL connection password.
- queryPassword(Secret) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the SQL connection password (HTTP Basic, query host only).
- queryPassword(String) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the SQL connection password.
- queryPassword(String) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the SQL connection password.
- queryRaw(String) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Runs SQL and returns the response text unchanged (any
FORMAT). - queryRaw(String, Map<String, ?>, QueryOptions) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Runs SQL with bound parameters and returns the response text unchanged.
- queryRawAsync(String, Map<String, ?>, QueryOptions) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Asynchronous
BetterStackQuery.queryRaw(String, Map, QueryOptions). - queryTransportConfig() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Transport settings of the SQL query side (
baseUrl=BetterStackConfig.queryUrl()). - queryUrl() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the SQL query base URL.
- queryUrl(String) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the SQL query base URL.
- queryUrl(String) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the SQL query base URL (ClickHouse HTTP interface).
- queryUsername() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the SQL connection username.
- queryUsername(String) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the SQL connection username.
- queryUsername(String) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the SQL connection username.
- QUEUE_FULL - Enum constant in enum class codes.grow.packages.betterstack.logging.DropReason
-
The queue was full (
"queue_full"). - queued() - Method in record class codes.grow.packages.betterstack.logging.BatchStats
-
Returns the value of the
queuedrecord component. - QuotaExceededException - Exception Class in codes.grow.packages.betterstack
-
Better Stack answered
402 Quota exceeded: the team's quota or spending limit is reached. - QuotaExceededException(String, Integer, String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.QuotaExceededException
-
Creates the exception.
R
- random(RandomGenerator) - Method in class codes.grow.packages.betterstack.core.RetryPolicy.Builder
-
Injects the random source used for jitter (tests).
- RATE_LIMITED - Enum constant in enum class codes.grow.packages.betterstack.core.ErrorCode
-
HTTP 429.
- RateLimitException - Exception Class in codes.grow.packages.betterstack.core
-
The service rate-limited the call (HTTP 429); see
BetterStackException.retryAfter(). - RateLimitException(String) - Constructor for exception class codes.grow.packages.betterstack.core.RateLimitException
-
Creates the exception.
- RateLimitException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.RateLimitException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - RateLimitException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.RateLimitException
-
Creates the exception with response details.
- RateLimitException(String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.RateLimitException
-
Creates the exception with a cause.
- raw() - Method in record class codes.grow.packages.betterstack.testing.Scenario
-
Returns the value of the
rawrecord component. - reason() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
reasonrecord component. - records() - Method in record class codes.grow.packages.betterstack.logging.LogSearchResult
-
Returns the value of the
recordsrecord component. - records() - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogExporter
-
Accepted records in export order.
- REDACTED - Static variable in class codes.grow.packages.betterstack.core.Redaction
-
Replacement for every redacted value.
- redactFields(Map<String, ?>) - Static method in class codes.grow.packages.betterstack.core.Redaction
-
Same as
Redaction.redactFields(Map, Collection)without extra keys. - redactFields(Map<String, ?>, Collection<String>) - Static method in class codes.grow.packages.betterstack.core.Redaction
-
Returns a deep copy of a structure with the values of sensitive keys replaced; recurses into nested maps and lists.
- redactHeaderLists(Map<String, List<String>>) - Static method in class codes.grow.packages.betterstack.core.Redaction
-
Returns a copy of multi-valued headers with sensitive values replaced.
- redactHeaders(Map<String, String>) - Static method in class codes.grow.packages.betterstack.core.Redaction
-
Returns a copy of single-valued headers with sensitive values replaced.
- redaction() - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions
-
Redaction processor, or
nullwhen redaction is disabled. - redaction(RedactionProcessor) - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions.Builder
-
Sets the redaction processor;
nulldisables redaction (not recommended). - redaction(RedactionProcessor) - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient.Builder
-
Sets the redaction processor;
nulldisables redaction (not recommended). - Redaction - Class in codes.grow.packages.betterstack.core
-
Redaction helpers for headers, URLs, structured fields and free text (SPEC section 2.6).
- RedactionProcessor - Class in codes.grow.packages.betterstack.logging
-
Redacts log records before they are queued.
- RedactionProcessor.Builder - Class in codes.grow.packages.betterstack.logging
-
Builder for
RedactionProcessor. - redactMap(Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.RedactionProcessor
-
Redacts an attribute map (same rules as for record attributes).
- redactText(String, Collection<String>) - Static method in class codes.grow.packages.betterstack.core.Redaction
-
Replaces every occurrence of each known secret value (length 4 or more) with "[REDACTED]".
- redactUrl(String) - Static method in class codes.grow.packages.betterstack.core.Redaction
-
Redacts user-info passwords and the values of sensitive query parameters in a URL.
- register(ConformanceOps) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Registers (or overrides) operations of a category.
- register(AutoCloseable) - Method in class codes.grow.packages.betterstack.BetterStackClient
-
Registers a resource (log client, tail) closed with the client.
- rejected() - Method in record class codes.grow.packages.betterstack.logging.ExportResult
-
Returns the value of the
rejectedrecord component. - rejected() - Method in record class codes.grow.packages.betterstack.OtlpLogs.PartialSuccess
-
Returns the value of the
rejectedrecord component. - renderSearchSql(SearchLogsOptions) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Renders the SQL of
BetterStackQuery.searchLogs(codes.grow.packages.betterstack.SearchLogsOptions): hotremote(<source>_logs)UNION ALL colds3Cluster(primary, <source>_s3) WHERE _row_type = 1, the inclusivedtwindow (toDateTime64('…', 6, 'UTC')),position(raw, <JSON-escaped contains>) > 0,ORDER BY dt,LIMIT <limit + 1>(to detect a next page) and the cursor'sOFFSET,FORMAT JSONEachRow. - replacement(String) - Method in class codes.grow.packages.betterstack.logging.RedactionProcessor.Builder
-
Sets the replacement text.
- REQUEST_ID_HEADERS - Static variable in class codes.grow.packages.betterstack.core.HttpTransport
-
Response headers that carry a vendor request id, in lookup order.
- requestId() - Method in exception class codes.grow.packages.betterstack.core.BetterStackException
-
Returns the vendor request id header of the failed response.
- requestId() - Method in record class codes.grow.packages.betterstack.core.Hooks.ResponseInfo
-
Returns the value of the
requestIdrecord component. - requestId() - Method in class codes.grow.packages.betterstack.core.TransportResponse
-
Returns the vendor request id header.
- RequestInfo(String, String, Map<String, List<String>>, int) - Constructor for record class codes.grow.packages.betterstack.core.Hooks.RequestInfo
-
Creates an instance of a
RequestInforecord class. - requestTimeout() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the per-attempt timeout.
- requestTimeout() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the per-attempt timeout.
- requestTimeout(Duration) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the per-attempt timeout.
- requestTimeout(Duration) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the per-attempt timeout (default 30 s).
- requestTimeout(Duration) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets the per-attempt timeout.
- requires() - Method in record class codes.grow.packages.betterstack.testing.Scenario
-
Returns the value of the
requiresrecord component. - requires() - Method in record class codes.grow.packages.betterstack.testing.Scenario.Step
-
Returns the value of the
requiresrecord component. - reset() - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogExporter
-
Forgets stored records and statistics (scripted outcomes stay).
- resolve(String, Map<String, List<String>>) - Method in class codes.grow.packages.betterstack.core.HttpTransport
-
Resolves a request path and query against the base URL.
- resource() - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions
-
Resource attributes (
service.name,deployment.environment, …). - resource() - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient
-
Resource attributes added to every record.
- resource() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
Resource attributes (
service.name,service.version, …). - resource(Map<String, ?>) - Method in class codes.grow.packages.betterstack.BetterStackLogClientOptions.Builder
-
Sets the resource attributes.
- resource(Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient.Builder
-
Sets the resource attributes (
service.name,service.version,deployment.environment,host.name, …). - resource(Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Replaces all resource attributes.
- ResponseInfo(String, String, int, long, int, Optional<String>) - Constructor for record class codes.grow.packages.betterstack.core.Hooks.ResponseInfo
-
Creates an instance of a
ResponseInforecord class. - retries() - Method in record class codes.grow.packages.betterstack.logging.BatchStats
-
Returns the value of the
retriesrecord component. - retry() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the retry policy.
- retry() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the retry policy.
- retry(RetryPolicy) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the retry policy.
- retry(RetryPolicy) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the retry policy (default
RetryPolicy.defaults()). - retry(RetryPolicy) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets the retry policy.
- retryable() - Method in exception class codes.grow.packages.betterstack.core.BetterStackException
-
Returns whether retrying the same call may succeed.
- retryable() - Method in enum class codes.grow.packages.betterstack.core.ErrorCode
-
Returns whether errors with this code are retryable by default.
- retryable() - Method in exception class codes.grow.packages.betterstack.QuotaExceededException
-
Never retryable.
- retryable() - Method in exception class codes.grow.packages.betterstack.ServerResponseException
-
Never retryable.
- retryAfter() - Method in exception class codes.grow.packages.betterstack.core.BetterStackException
-
Returns the wait the server asked for (
Retry-After). - retryAfterHeaders() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the vendor headers read as a retry hint when a 429 or 503 response has no
Retry-After(for exampleX-RateLimit-Reset), parsed withRetryPolicy.parseRateLimitReset(java.lang.String, java.time.Instant). - retryAfterHeaders(String...) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Adds vendor headers read as a retry hint when a 429 or 503 response has no
Retry-After(for exampleX-RateLimit-Reset). - retryBackoff() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Base delay before a repeated export, doubled per attempt (default 200 ms).
- retryBackoff(Duration) - Method in class codes.grow.packages.betterstack.logging.BatchOptions.Builder
-
Sets the base retry delay (doubled per attempt).
- RetryPolicy - Class in codes.grow.packages.betterstack.core
-
Retry settings with full-jitter exponential backoff (SPEC section 2.3).
- RetryPolicy.Builder - Class in codes.grow.packages.betterstack.core
-
Builder for
RetryPolicy. - reveal() - Method in class codes.grow.packages.betterstack.core.Secret
-
Returns the credential as a string.
- revealChars() - Method in class codes.grow.packages.betterstack.core.Secret
-
Returns a copy of the credential characters.
- run() - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner
-
Runs every selected scenario.
- run(StepContext) - Method in interface codes.grow.packages.betterstack.testing.OpHandler
-
Runs the step.
- runScenario(Scenario) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner
-
Runs one scenario.
S
- sameValue(Secret) - Method in class codes.grow.packages.betterstack.core.Secret
-
Compares the values in constant time.
- save() - Method in record class codes.grow.packages.betterstack.testing.Scenario.Step
-
Returns the value of the
saverecord component. - scenario() - Method in class codes.grow.packages.betterstack.testing.StepContext
-
Returns the running scenario.
- Scenario - Record Class in codes.grow.packages.betterstack.testing
-
A parsed conformance scenario (
conformance/scenarios/*.json). - Scenario(String, String, String, List<String>, List<Scenario.Step>, JsonNode) - Constructor for record class codes.grow.packages.betterstack.testing.Scenario
-
Creates a scenario; lists are copied.
- Scenario.Step - Record Class in codes.grow.packages.betterstack.testing
-
One step of a scenario.
- scenarioDir(Path) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Reads scenarios from this directory instead of searching for
conformance/scenarios. - ScenarioResult(String, String, ConformanceReport.Status, String, List<ConformanceReport.StepResult>, long) - Constructor for record class codes.grow.packages.betterstack.testing.ConformanceReport.ScenarioResult
-
Creates a result; the list is copied.
- scenarios() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport
-
Returns the value of the
scenariosrecord component. - scenarios() - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner
-
Returns the scenarios of the categories that have a target, sorted by id.
- scopeName() - Method in class codes.grow.packages.betterstack.BetterStackOtlpLogExporter
-
Returns the instrumentation scope name.
- scopeName() - Method in record class codes.grow.packages.betterstack.BetterStackOtlpLogExporterOptions
-
Returns the value of the
scopeNamerecord component. - SdkInfo - Class in codes.grow.packages.betterstack.core
-
Package identity used in the
User-Agentheader. - search() - Method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Returns the value of the
searchrecord component. - search(String) - Method in interface codes.grow.packages.betterstack.logging.LogQueryClient
-
Searches with default options (limit 100, newest first).
- search(String, SearchOptions) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
LogQueryClient.search(java.lang.String, codes.grow.packages.betterstack.logging.SearchOptions):queryis thecontainstext, searched in the configured source table. - search(String, SearchOptions) - Method in interface codes.grow.packages.betterstack.logging.LogQueryClient
-
Searches records matching a service query (full text or the service's query language).
- search(String, SearchOptions) - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogQueryClient
- searchAsync(String, SearchOptions) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Asynchronous
BetterStackQuery.search(String, SearchOptions). - searchAsync(String, SearchOptions) - Method in interface codes.grow.packages.betterstack.logging.LogQueryClient
-
Asynchronous
LogQueryClient.search(String, SearchOptions). - searchLogs(SearchLogsOptions) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Searches the hot and cold logs of a collection (see
BetterStackQuery.renderSearchSql(codes.grow.packages.betterstack.SearchLogsOptions)) with an inclusive time window and a literal substring match, newest first by default. - searchLogsAsync(SearchLogsOptions) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Asynchronous
BetterStackQuery.searchLogs(SearchLogsOptions). - SearchLogsOptions - Class in codes.grow.packages.betterstack
-
Options of
BetterStackQuery.searchLogs(SearchLogsOptions). - SearchLogsOptions.Builder - Class in codes.grow.packages.betterstack
-
Builder of
SearchLogsOptions. - SearchOptions - Class in codes.grow.packages.betterstack.logging
-
Options of
LogQueryClient.search(java.lang.String, codes.grow.packages.betterstack.logging.SearchOptions): time range, limit (default 100), order, cursor. - SearchOptions.Builder - Class in codes.grow.packages.betterstack.logging
-
Builder for
SearchOptions. - Secret - Class in codes.grow.packages.betterstack.core
-
A credential held in a
char[]that never prints itself. - send(TransportRequest) - Method in class codes.grow.packages.betterstack.core.HttpTransport
-
Executes a request with retries and returns a 2xx (or accepted) response.
- send(LogEntry) - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient
- send(LogEntry) - Method in interface codes.grow.packages.betterstack.logging.LogClient
-
Enqueues one record or input.
- send(List<LogRecord>, boolean) - Method in class codes.grow.packages.betterstack.BetterStackOtlpLogExporter
-
Posts one OTLP request for
records(no splitting). - sendAsync(TransportRequest) - Method in class codes.grow.packages.betterstack.core.HttpTransport
-
Executes a request with retries asynchronously.
- sendAsync(List<LogRecord>, boolean) - Method in class codes.grow.packages.betterstack.BetterStackOtlpLogExporter
-
Asynchronous
BetterStackOtlpLogExporter.send(List, boolean). - sendBatch(Collection<? extends LogEntry>) - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient
- sendBatch(Collection<? extends LogEntry>) - Method in interface codes.grow.packages.betterstack.logging.LogClient
-
Enqueues several records or inputs.
- sendEvents(List<? extends Map<String, ?>>) - Method in class codes.grow.packages.betterstack.BetterStackLogExporter
-
Posts raw events (any JSON objects;
dtmay be anInstant, an RFC 3339 string or UNIX seconds/ms/ns) as one request, gzip-compressed, in the exporter's encoding. - sendEvents(List<? extends Map<String, ?>>, SendEventsOptions) - Method in class codes.grow.packages.betterstack.BetterStackLogExporter
-
Posts raw events as one request (no splitting).
- sendEventsAsync(List<? extends Map<String, ?>>, SendEventsOptions) - Method in class codes.grow.packages.betterstack.BetterStackLogExporter
- SendEventsOptions - Record Class in codes.grow.packages.betterstack
- SendEventsOptions(Optional<IngestEncoding>, boolean) - Constructor for record class codes.grow.packages.betterstack.SendEventsOptions
-
Replaces a
nullencoding by empty. - sendJson(TransportRequest) - Method in class codes.grow.packages.betterstack.core.HttpTransport
-
Convenience: sends a request and decodes the JSON body.
- sent() - Method in record class codes.grow.packages.betterstack.logging.BatchStats
-
Returns the value of the
sentrecord component. - ServerResponseException - Exception Class in codes.grow.packages.betterstack
-
The service answered with a body the SDK cannot use: an invalid JSON response or a ClickHouse exception without a specific mapping that followed a
200answer. - ServerResponseException(String, Integer, String) - Constructor for exception class codes.grow.packages.betterstack.ServerResponseException
-
Creates the exception.
- serverVersion() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
Better Stack is a SaaS without a version endpoint (the query host's ClickHouse version is not one).
- serverVersion() - Method in interface codes.grow.packages.betterstack.testing.CoreTarget
-
Returns the server version.
- serverVersionAsync() - Method in class codes.grow.packages.betterstack.BetterStackClient
-
Asynchronous
BetterStackClient.serverVersion(): always fails withUnsupportedException. - serviceName(String) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Sets
${serviceName}(the tracing service name the factory configured). - setDefaultClient(LogClient) - Static method in class codes.grow.packages.betterstack.logging.GrowLog4j2Appender
-
Sets the client used by appenders created from configuration files.
- setLogClient(LogClient) - Method in class codes.grow.packages.betterstack.logging.GrowLogbackAppender
-
Sets the destination.
- settings() - Method in record class codes.grow.packages.betterstack.QueryOptions
-
Returns the value of the
settingsrecord component. - severity() - Method in class codes.grow.packages.betterstack.logging.LogInput
-
Severity (default INFO).
- severity() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
Severity.
- severity(Severity) - Method in class codes.grow.packages.betterstack.logging.LogInput.Builder
-
Sets the severity.
- severity(Severity) - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Sets the severity; the severity text follows unless set explicitly.
- Severity - Enum Class in codes.grow.packages.betterstack.logging
-
Log severity with the OpenTelemetry severity numbers.
- severityOf(Level) - Static method in class codes.grow.packages.betterstack.logging.GrowLogbackAppender
-
Maps a Logback level to a severity.
- severityOf(Level) - Static method in class codes.grow.packages.betterstack.logging.GrowJulHandler
-
Maps a JUL level to a severity.
- severityOf(Level) - Static method in class codes.grow.packages.betterstack.logging.GrowLog4j2Appender
-
Maps a Log4j level to a severity.
- severityText() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
Severity text (
"TRACE"…"FATAL"or the vendor text). - severityText(String) - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Sets a vendor severity text (defaults to the severity name).
- shutdown() - Method in class codes.grow.packages.betterstack.BetterStackLogExporter
-
Nothing to release; the client owns the transport.
- shutdown() - Method in class codes.grow.packages.betterstack.BetterStackOtlpLogExporter
-
Nothing to release; the client owns the transport.
- shutdown() - Method in class codes.grow.packages.betterstack.logging.BatchProcessor
-
Drains the queue, shuts the exporter down and stops the worker, waiting at most the export timeout.
- shutdown() - Method in interface codes.grow.packages.betterstack.logging.LogExporter
-
Releases resources.
- shutdown() - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogExporter
- shutdown(Duration) - Method in class codes.grow.packages.betterstack.logging.BatchProcessor
-
Drains the queue, shuts the exporter down and stops the worker.
- SHUTDOWN - Enum constant in enum class codes.grow.packages.betterstack.logging.DropReason
-
The processor was shut down (
"shutdown"). - shutdownAsync(Duration) - Method in class codes.grow.packages.betterstack.logging.BatchProcessor
-
Asynchronous
BatchProcessor.shutdown(Duration). - shutdownCount() - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogExporter
-
Number of
InMemoryLogExporter.shutdown()calls. - SKIPPED - Enum constant in enum class codes.grow.packages.betterstack.testing.ConformanceReport.Status
-
A required capability was not declared.
- SortOrder - Enum Class in codes.grow.packages.betterstack.logging
- source() - Method in class codes.grow.packages.betterstack.SearchLogsOptions
-
Collection (
t1234_myapp); empty uses the configured source table. - source(String) - Method in class codes.grow.packages.betterstack.SearchLogsOptions.Builder
-
Sets the collection.
- source(String, String...) - Method in class codes.grow.packages.betterstack.core.EnvReader
-
Returns the name of the first variable that is set, for error messages.
- SOURCE_TABLE_VENDOR_VARS - Static variable in class codes.grow.packages.betterstack.BetterStackConfig
-
Vendor variables read for
sourceTable. - SOURCE_TOKEN_VENDOR_VARS - Static variable in class codes.grow.packages.betterstack.BetterStackConfig
-
Vendor variables read for
sourceToken. - sourceTable() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the default collection (
t1234_myapp) used bysearch,searchLogs,tailandping. - sourceTable(String) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the default collection.
- sourceTable(String) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the default collection (
t1234_myapp). - sourceToken() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the source token.
- sourceToken(Secret) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the source token.
- sourceToken(Secret) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the source token (sent as
Authorization: Bearerto the ingesting host only). - sourceToken(String) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the source token.
- sourceToken(String) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the source token.
- spanId() - Method in class codes.grow.packages.betterstack.logging.LogInput
-
Span id.
- spanId() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
Span id (16 lower-hex).
- spanId(String) - Method in class codes.grow.packages.betterstack.logging.LogInput.Builder
-
Sets the span id.
- spanId(String) - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Sets the span id (16 hex).
- sqlString(String) - Static method in class codes.grow.packages.betterstack.BetterStackQuery
-
Escapes a value as a ClickHouse single-quoted string literal (backslash, quote, newline, carriage return, tab and NUL are backslash-escaped).
- sslContext() - Method in class codes.grow.packages.betterstack.core.TlsOptions
-
Builds the SSL context for these options.
- start() - Method in class codes.grow.packages.betterstack.logging.GrowLogbackAppender
- start() - Method in class codes.grow.packages.betterstack.logging.SearchOptions
-
Range start (inclusive).
- start() - Method in record class codes.grow.packages.betterstack.logging.TailOptions
-
Returns the value of the
startrecord component. - start() - Method in class codes.grow.packages.betterstack.SearchLogsOptions
-
Inclusive window start; empty means 24 h before
SearchLogsOptions.end()(or before now). - start(Instant) - Method in class codes.grow.packages.betterstack.logging.SearchOptions.Builder
-
Sets the range start.
- start(Instant) - Method in class codes.grow.packages.betterstack.SearchLogsOptions.Builder
-
Sets the inclusive window start.
- stats() - Method in class codes.grow.packages.betterstack.logging.BatchingLogClient
- stats() - Method in class codes.grow.packages.betterstack.logging.BatchProcessor
-
Current counters.
- stats() - Method in interface codes.grow.packages.betterstack.logging.LogClient
-
Current counters.
- status() - Method in record class codes.grow.packages.betterstack.core.HealthStatus
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.betterstack.core.Hooks.ResponseInfo
-
Returns the value of the
statusrecord component. - status() - Method in class codes.grow.packages.betterstack.core.TransportResponse
-
Returns the HTTP status.
- status() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
statusrecord component. - status() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.StepResult
-
Returns the value of the
statusrecord component. - step() - Method in class codes.grow.packages.betterstack.testing.StepContext
-
Returns the current step.
- Step(String, JsonNode, JsonNode, String, List<String>) - Constructor for record class codes.grow.packages.betterstack.testing.Scenario.Step
-
Creates a step; the list is copied.
- StepContext - Class in codes.grow.packages.betterstack.testing
-
Everything an
OpHandlerneeds for one step. - StepResult(int, String, ConformanceReport.Status, String) - Constructor for record class codes.grow.packages.betterstack.testing.ConformanceReport.StepResult
-
Creates an instance of a
StepResultrecord class. - steps() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.ScenarioResult
-
Returns the value of the
stepsrecord component. - steps() - Method in record class codes.grow.packages.betterstack.testing.Scenario
-
Returns the value of the
stepsrecord component. - stop() - Method in interface codes.grow.packages.betterstack.logging.TailHandle
-
Stops the subscription; idempotent.
- store(List<LogRecord>) - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogExporter
-
Stores records as if exported (for outcomes that accept part of a batch).
- string(String, String...) - Method in class codes.grow.packages.betterstack.core.EnvReader
-
Reads a string.
- stringify(Object) - Static method in class codes.grow.packages.betterstack.core.Json
-
Encodes a value as a JSON string.
- substitute(String) - Method in class codes.grow.packages.betterstack.testing.StepContext
-
Substitutes
${name}variables in a string. - substitute(String, Map<String, String>) - Static method in class codes.grow.packages.betterstack.testing.ConformanceRunner
-
Replaces
${name}placeholders; unknown names are kept as they are. - substituteNode(JsonNode, Map<String, String>) - Static method in class codes.grow.packages.betterstack.testing.ConformanceRunner
-
Substitutes placeholders in every string (and object key) of a JSON tree.
- success(int) - Static method in record class codes.grow.packages.betterstack.logging.ExportResult
-
All records accepted.
- summary() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport
-
Returns a multi-line summary listing every scenario.
- system() - Static method in class codes.grow.packages.betterstack.core.EnvReader
-
Creates a reader with
EnvReader.DEFAULT_PREFIXover the process environment.
T
- tail(String, Consumer<LogRecord>, TailOptions) - Method in class codes.grow.packages.betterstack.BetterStackQuery
-
Polls
BetterStackQuery.searchLogs(codes.grow.packages.betterstack.SearchLogsOptions)everyoptions.interval()(default 1 s) for new records of the configured source table that containquery, starting atoptions.start()(default now), and callsonRecordfor each new record indtorder. - tail(String, Consumer<LogRecord>, TailOptions) - Method in interface codes.grow.packages.betterstack.logging.LogQueryClient
-
Streams new matching records to
onRecorduntil the handle is stopped. - tail(String, Consumer<LogRecord>, TailOptions) - Method in class codes.grow.packages.betterstack.testing.logging.InMemoryLogQueryClient
- TailHandle - Interface in codes.grow.packages.betterstack.logging
- TailOptions - Record Class in codes.grow.packages.betterstack.logging
- TailOptions(Optional<Instant>, Duration, Consumer<Throwable>) - Constructor for record class codes.grow.packages.betterstack.logging.TailOptions
-
Fills defaults for
nullvalues. - target() - Method in class codes.grow.packages.betterstack.testing.StepContext
-
Returns the scenario target.
- target(Class<T>) - Method in class codes.grow.packages.betterstack.testing.StepContext
-
Returns the target cast to a type.
- target(String, TargetFactory) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Sets the target factory of a category; categories without a target do not run.
- TargetFactory - Interface in codes.grow.packages.betterstack.testing
-
Creates the object a scenario runs against (client, provider, log client, tracing handle).
- text() - Method in class codes.grow.packages.betterstack.core.TransportResponse
-
Returns the body decoded as UTF-8.
- text() - Method in enum class codes.grow.packages.betterstack.logging.Severity
-
Returns the canonical severity text (
"TRACE"…"FATAL"). - timeout() - Method in class codes.grow.packages.betterstack.core.TransportRequest
-
Returns the per-attempt timeout override.
- timeout() - Method in record class codes.grow.packages.betterstack.logging.ExportOptions
-
Returns the value of the
timeoutrecord component. - timeout() - Method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Returns the value of the
timeoutrecord component. - timeout(Duration) - Method in class codes.grow.packages.betterstack.core.TransportRequest.Builder
-
Overrides the per-attempt timeout for this call.
- TIMEOUT - Enum constant in enum class codes.grow.packages.betterstack.core.ErrorCode
-
Connect, request or total deadline exceeded, HTTP 408 or 504.
- TimeoutException - Exception Class in codes.grow.packages.betterstack.core
-
A connect, request or total deadline was exceeded (or HTTP 408, 504).
- TimeoutException(String) - Constructor for exception class codes.grow.packages.betterstack.core.TimeoutException
-
Creates the exception.
- TimeoutException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.TimeoutException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - TimeoutException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.TimeoutException
-
Creates the exception with response details.
- TimeoutException(String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.TimeoutException
-
Creates the exception with a cause.
- timestamp() - Method in class codes.grow.packages.betterstack.logging.LogInput
-
Event time.
- timestamp() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
Event time.
- timestamp(Instant) - Method in class codes.grow.packages.betterstack.logging.LogInput.Builder
-
Sets the event time.
- timestamp(Instant) - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Sets the event time.
- tls() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the TLS options.
- tls() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the TLS options.
- tls(TlsOptions) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the TLS options.
- tls(TlsOptions) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the TLS options; environment TLS variables are then ignored.
- tls(TlsOptions) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets the TLS options.
- TlsOptions - Class in codes.grow.packages.betterstack.core
-
TLS settings: custom CA, client certificate (mutual TLS) and the test-only
insecureSkipVerify. - TlsOptions.Builder - Class in codes.grow.packages.betterstack.core
-
Builder for
TlsOptions. - toAttrValue(JsonNode) - Static method in class codes.grow.packages.betterstack.logging.LogRecordJson
-
Converts a JSON tree into attribute values (
AttrValues). - toBuilder() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns a builder pre-filled with this configuration.
- toBuilder() - Method in class codes.grow.packages.betterstack.core.RetryPolicy
-
Returns a builder initialised from this policy.
- toBuilder() - Method in class codes.grow.packages.betterstack.core.TlsOptions
-
Returns a builder initialised from these options.
- toBuilder() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
-
Returns a builder initialised with these options.
- toBuilder() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
Returns a builder initialised with this record's values.
- toBuilder() - Method in class codes.grow.packages.betterstack.logging.SearchOptions
-
Returns a builder with these values.
- toBuilder() - Method in class codes.grow.packages.betterstack.SearchLogsOptions
-
Returns a builder pre-filled with these options.
- toEvent(LogRecord) - Static method in class codes.grow.packages.betterstack.BetterStackEvents
-
Maps a record to the Better Stack event shape (the JSON stored in the
rawcolumn):{dt, message, level, severity_number, span: {trace_id, span_id}, trace_flags, resource, attributes, observed_dt}. - toJson(LogRecord) - Static method in class codes.grow.packages.betterstack.logging.LogRecordJson
-
Serialises a record to compact JSON.
- toMap(LogRecord) - Static method in class codes.grow.packages.betterstack.logging.LogRecordJson
-
Returns the wire form as an ordered map of plain JSON values.
- toString() - Method in class codes.grow.packages.betterstack.BetterStackClient
- toString() - Method in class codes.grow.packages.betterstack.BetterStackConfig
- toString() - Method in record class codes.grow.packages.betterstack.BetterStackLogExporterOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.BetterStackOtlpLogExporterOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.core.HealthStatus
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.core.Hooks.ErrorInfo
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.core.Hooks.RequestInfo
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.core.Hooks.ResponseInfo
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.betterstack.core.RetryPolicy
- toString() - Method in class codes.grow.packages.betterstack.core.Secret
-
Always "[REDACTED]".
- toString() - Method in class codes.grow.packages.betterstack.core.TlsOptions
- toString() - Method in class codes.grow.packages.betterstack.core.TransportResponse
- toString() - Method in class codes.grow.packages.betterstack.logging.BatchOptions
- toString() - Method in record class codes.grow.packages.betterstack.logging.BatchStats
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.logging.ExportOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.logging.ExportResult
-
Returns a string representation of this record class.
- toString() - Method in class codes.grow.packages.betterstack.logging.LogInput
- toString() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
Returns the normalized JSON form (see
LogRecordJson). - toString() - Method in record class codes.grow.packages.betterstack.logging.LogSearchResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.logging.TailOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.OtlpLogs.PartialSuccess
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.QueryOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.SendEventsOptions
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.ScenarioResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport.StepResult
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.testing.logging.LoggingTarget
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.testing.Scenario.Step
-
Returns a string representation of this record class.
- toString() - Method in record class codes.grow.packages.betterstack.testing.Scenario
-
Returns a string representation of this record class.
- total() - Method in record class codes.grow.packages.betterstack.logging.LogSearchResult
-
Returns the value of the
totalrecord component. - totalTimeout() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the total timeout per call including retries.
- totalTimeout() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the budget of a whole call including retries and backoff.
- totalTimeout(Duration) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the total timeout.
- totalTimeout(Duration) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the total timeout per call including retries (default 120 s).
- totalTimeout(Duration) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets the total budget per call.
- trace(String) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at TRACE.
- trace(String, Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at TRACE.
- TRACE - Enum constant in enum class codes.grow.packages.betterstack.logging.Severity
-
OTel severity 1.
- traceFlags() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
W3C trace flags.
- traceFlags(Integer) - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Sets the W3C trace flags (0–255).
- traceId() - Method in class codes.grow.packages.betterstack.logging.LogInput
-
Trace id.
- traceId() - Method in class codes.grow.packages.betterstack.logging.LogRecord
-
Trace id (32 lower-hex).
- traceId(String) - Method in class codes.grow.packages.betterstack.logging.LogInput.Builder
-
Sets the trace id.
- traceId(String) - Method in class codes.grow.packages.betterstack.logging.LogRecord.Builder
-
Sets the trace id (32 hex; upper case is accepted, 16 hex is left-padded).
- TransportConfig - Class in codes.grow.packages.betterstack.core
-
Settings of one
HttpTransport. - TransportConfig.Builder - Class in codes.grow.packages.betterstack.core
-
Builder for
TransportConfig. - TransportRequest - Class in codes.grow.packages.betterstack.core
-
One logical HTTP call executed by
HttpTransport(with retries). - TransportRequest.Builder - Class in codes.grow.packages.betterstack.core
-
Builder for
TransportRequest. - TransportResponse - Class in codes.grow.packages.betterstack.core
-
A response returned by
HttpTransport(2xx or an accepted status). - TransportResponse(int, Map<String, List<String>>, byte[], int, Duration, String) - Constructor for class codes.grow.packages.betterstack.core.TransportResponse
-
Creates a response (used by the transport and by tests).
- tree() - Method in class codes.grow.packages.betterstack.testing.OpResult
-
Returns the tree view.
- tree(byte[]) - Static method in class codes.grow.packages.betterstack.core.Json
-
Parses JSON bytes into a tree.
- truncate(String, int) - Static method in class codes.grow.packages.betterstack.core.Redaction
-
Truncates text to
maxcharacters, appending an ellipsis when cut.
U
- UNAVAILABLE - Enum constant in enum class codes.grow.packages.betterstack.core.ErrorCode
-
Network error or HTTP 500, 502, 503.
- UnavailableException - Exception Class in codes.grow.packages.betterstack.core
-
Network error or HTTP 500, 502, 503.
- UnavailableException(String) - Constructor for exception class codes.grow.packages.betterstack.core.UnavailableException
-
Creates the exception.
- UnavailableException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.UnavailableException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - UnavailableException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.UnavailableException
-
Creates the exception with response details.
- UnavailableException(String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.UnavailableException
-
Creates the exception with a cause.
- unreachable(String) - Static method in record class codes.grow.packages.betterstack.core.HealthStatus
-
The status for a service that could not be reached.
- UNSUPPORTED - Enum constant in enum class codes.grow.packages.betterstack.core.ErrorCode
-
A capability the service or deployment does not offer (HTTP 501).
- UnsupportedException - Exception Class in codes.grow.packages.betterstack.core
-
The service or deployment does not offer this capability (HTTP 501).
- UnsupportedException(String) - Constructor for exception class codes.grow.packages.betterstack.core.UnsupportedException
-
Creates the exception.
- UnsupportedException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.UnsupportedException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - UnsupportedException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.UnsupportedException
-
Creates the exception with response details.
- UnsupportedException(String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.UnsupportedException
-
Creates the exception with a cause.
- until(String, Duration, Duration, Callable<Optional<T>>) - Static method in class codes.grow.packages.betterstack.core.Poll
-
Calls
attempteveryintervaluntil it returns a value ortimeoutpasses. - untilAsync(String, Duration, Duration, Supplier<CompletableFuture<Optional<T>>>) - Static method in class codes.grow.packages.betterstack.core.Poll
-
Asynchronous variant of
Poll.until(java.lang.String, java.time.Duration, java.time.Duration, java.util.concurrent.Callable<java.util.Optional<T>>): no thread blocks between attempts. - url() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the ingest base URL (the source's ingesting host).
- url() - Method in record class codes.grow.packages.betterstack.core.Hooks.ErrorInfo
-
Returns the value of the
urlrecord component. - url() - Method in record class codes.grow.packages.betterstack.core.Hooks.RequestInfo
-
Returns the value of the
urlrecord component. - url() - Method in record class codes.grow.packages.betterstack.core.Hooks.ResponseInfo
-
Returns the value of the
urlrecord component. - url(String) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the ingest base URL (the source's ingesting host).
- url(String) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the ingest base URL: the source's ingesting host (
s1234.eu-nbg-2.betterstackdata.combecomeshttps://…). - URL_VENDOR_VARS - Static variable in class codes.grow.packages.betterstack.BetterStackConfig
-
Vendor variables read for
urlafterGROW_BETTER_STACK_LOGS_URL, in order. - userAgent() - Static method in class codes.grow.packages.betterstack.core.SdkInfo
-
Returns the standard user agent:
grow-codes-<key>/<version> (java). - userAgent() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the full
User-Agentheader value. - userAgentSuffix() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Returns the user agent suffix.
- userAgentSuffix() - Method in class codes.grow.packages.betterstack.core.TransportConfig
-
Returns the user agent suffix.
- userAgentSuffix(String) - Method in class codes.grow.packages.betterstack.BetterStackClient.Builder
-
Sets the user agent suffix.
- userAgentSuffix(String) - Method in class codes.grow.packages.betterstack.BetterStackConfig.Builder
-
Sets the text appended to the
User-Agent. - userAgentSuffix(String) - Method in class codes.grow.packages.betterstack.core.TransportConfig.Builder
-
Sets the text appended to the standard user agent.
V
- validate() - Method in class codes.grow.packages.betterstack.BetterStackConfig
-
Checks the credential sets, URLs, the source table, timeouts, TLS and proxy.
- validate() - Method in class codes.grow.packages.betterstack.core.TlsOptions
-
Checks that certificate and key come together.
- VALIDATION - Enum constant in enum class codes.grow.packages.betterstack.core.ErrorCode
-
HTTP 400, 413, 422, other 4xx or bad input caught client side.
- ValidationException - Exception Class in codes.grow.packages.betterstack.core
-
The request or a value is invalid (HTTP 400, 413, 422, other 4xx).
- ValidationException(String) - Constructor for exception class codes.grow.packages.betterstack.core.ValidationException
-
Creates the exception.
- ValidationException(String, Integer, String, boolean, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.ValidationException
-
Creates the exception with response details and an explicit
retryableflag, for service subclasses whose errors differ from the default of the code (for example aCONFLICTthat may succeed when retried, or anUNAVAILABLEthat will not). - ValidationException(String, Integer, String, Duration, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.ValidationException
-
Creates the exception with response details.
- ValidationException(String, Throwable) - Constructor for exception class codes.grow.packages.betterstack.core.ValidationException
-
Creates the exception with a cause.
- value() - Method in class codes.grow.packages.betterstack.testing.OpResult
-
Returns the wrapped value.
- valueOf(String) - Static method in enum class codes.grow.packages.betterstack.core.ErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.betterstack.IngestEncoding
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.betterstack.logging.DropPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.betterstack.logging.DropReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.betterstack.logging.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.betterstack.logging.SortOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.betterstack.LogProtocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.betterstack.OtlpProtocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class codes.grow.packages.betterstack.testing.ConformanceReport.Status
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class codes.grow.packages.betterstack.core.ErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.betterstack.IngestEncoding
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.betterstack.logging.DropPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.betterstack.logging.DropReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.betterstack.logging.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.betterstack.logging.SortOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.betterstack.LogProtocol
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.betterstack.OtlpProtocol
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class codes.grow.packages.betterstack.testing.ConformanceReport.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variable(String) - Method in class codes.grow.packages.betterstack.testing.StepContext
-
Returns a variable (
run,prefix,serviceNameor a saved name). - variable(String, String) - Method in class codes.grow.packages.betterstack.testing.ConformanceRunner.Builder
-
Sets an extra variable, e.g.
- VERSION - Static variable in class codes.grow.packages.betterstack.core.SdkInfo
-
Package version (from the Maven build).
- view(Object) - Static method in class codes.grow.packages.betterstack.testing.Expectations
-
Returns the JSON view of a value used by
equals,contains,typeandsorted.
W
- waitForLog(String) - Method in interface codes.grow.packages.betterstack.logging.LogQueryClient
-
LogQueryClient.waitForLog(String, WaitForLogOptions)with defaults. - waitForLog(String, WaitForLogOptions) - Method in interface codes.grow.packages.betterstack.logging.LogQueryClient
-
Polls
LogQueryClient.search(java.lang.String, codes.grow.packages.betterstack.logging.SearchOptions)until a record matches the query and the predicate. - waitForLogAsync(String, WaitForLogOptions) - Method in interface codes.grow.packages.betterstack.logging.LogQueryClient
-
Asynchronous
LogQueryClient.waitForLog(String, WaitForLogOptions). - WaitForLogOptions - Record Class in codes.grow.packages.betterstack.logging
- WaitForLogOptions(Duration, Duration, Predicate<LogRecord>, SearchOptions) - Constructor for record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Fills defaults for
nullvalues. - warn(String) - Method in interface codes.grow.packages.betterstack.core.Logger
-
Logs at warn level without fields.
- warn(String) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at WARN.
- warn(String, Map<String, ?>) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Logs at WARN.
- warn(String, Map<String, Object>) - Method in interface codes.grow.packages.betterstack.core.Logger
-
Logs at warn level.
- WARN - Enum constant in enum class codes.grow.packages.betterstack.logging.Severity
-
OTel severity 13.
- willRetry() - Method in record class codes.grow.packages.betterstack.core.Hooks.ErrorInfo
-
Returns the value of the
willRetryrecord component. - wireValue() - Method in enum class codes.grow.packages.betterstack.core.ErrorCode
-
Returns the wire value used in conformance scenarios and JSON.
- wireValue() - Method in enum class codes.grow.packages.betterstack.IngestEncoding
-
Returns the configuration value (
json,ndjsonormsgpack). - wireValue() - Method in enum class codes.grow.packages.betterstack.logging.DropPolicy
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.betterstack.logging.DropReason
-
Wire value.
- wireValue() - Method in enum class codes.grow.packages.betterstack.logging.SortOrder
-
Wire value.
- with(ConformanceReport.Status) - Method in record class codes.grow.packages.betterstack.testing.ConformanceReport
-
Returns the scenarios with a status.
- withCount(int) - Method in class codes.grow.packages.betterstack.testing.OpResult
-
Returns a copy with an explicit count (e.g. the number of spans of a trace).
- withEncoding(IngestEncoding) - Method in record class codes.grow.packages.betterstack.SendEventsOptions
-
Copy with an explicit encoding.
- withGzip(boolean) - Method in record class codes.grow.packages.betterstack.SendEventsOptions
-
Copy with gzip on or off.
- withMaxRecordBytes(int) - Method in record class codes.grow.packages.betterstack.BetterStackLogExporterOptions
-
Copy with another record limit.
- withMaxRequestBytes(int) - Method in record class codes.grow.packages.betterstack.BetterStackLogExporterOptions
-
Copy with another request limit.
- withMinSeverity(Severity) - Method in class codes.grow.packages.betterstack.logging.Logger
-
Returns a copy with another minimum severity.
- withOnError(Consumer<Throwable>) - Method in record class codes.grow.packages.betterstack.logging.TailOptions
-
Copy with an error callback.
- withPredicate(Predicate<LogRecord>) - Method in record class codes.grow.packages.betterstack.logging.WaitForLogOptions
-
Copy with a predicate.
- withSetting(String, Object) - Method in record class codes.grow.packages.betterstack.QueryOptions
-
Copy with one more setting.
- withTree(Map<String, List<String>>) - Method in class codes.grow.packages.betterstack.testing.OpResult
-
Returns a copy with a parent-name to child-names view (span trees).
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form