Package codes.grow.packages.betterstack
Class BetterStackLogClientOptions
java.lang.Object
codes.grow.packages.betterstack.BetterStackLogClientOptions
Options of
BetterStackClient.logClient(BetterStackLogClientOptions): protocol, exporter
options, batching, resource and redaction.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionBatching options;maxBatchBytesis capped at 10 MiB.builder()Returns a builder.static BetterStackLogClientOptionsdefaults()Defaults: HTTP ingest in the configured encoding, default batching, no resource, default redaction.exporter()Options of the HTTP ingest exporter (protocolLogProtocol.HTTP).otlp()Options of the OTLP exporter (protocolLogProtocol.OTLP).protocol()Wire protocol.Redaction processor, ornullwhen redaction is disabled.resource()Resource attributes (service.name,deployment.environment, …).
-
Method Details
-
defaults
Defaults: HTTP ingest in the configured encoding, default batching, no resource, default redaction.- Returns:
- options
-
builder
Returns a builder.- Returns:
- builder
-
protocol
Wire protocol.- Returns:
- protocol
-
exporter
Options of the HTTP ingest exporter (protocolLogProtocol.HTTP).- Returns:
- options
-
otlp
Options of the OTLP exporter (protocolLogProtocol.OTLP).- Returns:
- options
-
batchOptions
Batching options;maxBatchBytesis capped at 10 MiB.- Returns:
- options
-
resource
Resource attributes (service.name,deployment.environment, …).- Returns:
- attributes
-
redaction
Redaction processor, ornullwhen redaction is disabled.- Returns:
- processor
-