#
errors
Collect errors by stage and message, keeping only a sample of each unique error. Errors are aggregated and emitted every interval seconds to minimize memory consumption and avoid flooding logs with duplicate error messages.
#
Config
Optional:
interval: How often in seconds to emit aggregated errors (default: 60)depth: Number of stack trace levels to retain (default: 3)
#
Example
The ERRORS channels is a special built-in channel. LogEngine.error() will emit errors to the ERRORS channel.
pipeline:
errors:
inputs: [ERRORS]
config:
interval: 300
depth: 3