Package codes.grow.packages.datadoglogs
Class DatadogLogClient.Options
java.lang.Object
codes.grow.packages.datadoglogs.DatadogLogClient.Options
- Enclosing class:
DatadogLogClient
Options of
DatadogLogsClient.logClient(Options): batching (capped at the intake limits:
1000 records, 5 000 000 bytes per batch), resource (merged over the configured service,
version, env and hostname), redaction and intake limits.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the batch options.builder()Starts a builder with the defaults.static DatadogLogClient.Optionsdefaults()The defaults.limits()Returns the intake limits.Returns the redaction processor (null disables redaction).resource()Returns the extra resource attributes.
-
Method Details
-
builder
Starts a builder with the defaults.- Returns:
- a new builder
-
defaults
The defaults.- Returns:
- default options
-
batchOptions
Returns the batch options.- Returns:
- the options
-
resource
Returns the extra resource attributes.- Returns:
- immutable map
-
redaction
Returns the redaction processor (null disables redaction).- Returns:
- the processor, may be null
-
limits
Returns the intake limits.- Returns:
- the limits
-