Skip to content

v0.13.0

Choose a tag to compare

@kirkrodrigues kirkrodrigues released this 22 Jul 23:35
· 200 commits to main since this release
4292b99

A release that adds OpenTelemetry metrics, compression and search performance improvements, compression and search throughput and responsiveness improvements, additional configuration knobs, and even more features and improvements.

Note

This release includes some changes that are incompatible with previous releases. If this affects you, reach out and we may be able to help with version migration. These changes are marked with "Breaking".

This release includes two tars for CLP as a distributed system:

  • clp-json for compressing and searching JSON logs
  • clp-text for compressing and searching unstructured text logs

This release also includes installable packages for CLP’s core.

Warning

Docker Compose 5.3.0 and 5.3.1 aren't supported due to an upstream regression in Docker Compose affecting disabled services.

Docs

The docs for this release are available here.

New features

  • clp-json/clp-text: Add configurable collection of anonymized operational metrics and support for exporting metrics via OpenTelemetry. (#2267, #2278, #2286, #2288, #2309, #2335, #2351)
    • Breaking:
      • Anonymized telemetry is enabled by default.
        • On first start, when run interactively, users will be prompted for consent; non-interactive starts use the enabled default.
        • To disable telemetry, see the docs.
      • Instance IDs for new package instances now use a full UUIDv4 in var/log/instance-id instead of a four-character hexadecimal ID.
        • Existing instance IDs are retained, but tooling that assumes a four-character ID must be updated to accept UUIDv4 values.
  • clp-json: Add support for ingesting general-purpose compressed files. (#2295)
  • webui: Make the search result limit configurable, and warn when results from Presto are truncated. (#2289, #2350)
  • clp-json: Add support for exporting Presto search results from the UI (resolves #2320). (#2331)
  • clp-s: Add support for outputting count and count-by-time aggregation results to the command line and results-cache. (#2326, #2342)

Bug fixes & improvements

clp-json/clp-text

  • clp-json: Improve query performance through column-based filtering for a subset of query shapes. (#2281, #2315)
  • clp-json: Improve decompression performance by leveraging simdjson for JSON string-escaping where possible. (#2216)
  • clp-json: Improve compression performance for unstructured logs by re-using the same log_surgeon::BufferParser to convert each file. (#2284)
  • clp-json: Add support for running the Presto and native query engines simultaneously in the same Docker Compose deployment. (#2349)
    • Breaking: The package.query_engine configuration key has been replaced with the webui.query_engine key.
  • clp-json/clp-text; Improve the throughput, responsiveness, and performance of the query-scheduler via caching and eliminating concurrency bottlenecks. (#2140, #2215, #2336)
  • clp-json/clp-text: Add defensive timeouts to prevent scheduler hangs (fixes #2252). (#2271)
    • Breaking:
      • Compression and search tasks will now be terminated after the configured timeout.
        • In Docker Compose deployments, the default compression and query tasks default to a soft and hard limits of 600s and 1,200s respectively, and can be configured via task_soft_time_limit and task_time_limit.
        • In Helm deployments, both limits are 0 (disabled).
  • clp-json: Improve timestamp-filter query translation in the UI to give Presto more query optimization opportunities. (#2328)
  • log-ingestor: Improve performance by reducing compression-submission lock contention with READ COMMITTED and smaller update batches (fixes #2358). (#2369)
  • clp-json/clp-text: Prevent query scheduler workers from inheriting reducer sockets (fixes #2316). (#2318)
  • clp-json: Fix authentication errors when trying to view compressed logs from S3 (fixes #2123). (#2126)
  • clp-json: Allow ingesting S3 keys with special characters when using SQS listener jobs in the log ingestor (fixes #2225). (#2299)
  • clp-json/clp-text: Use unique Celery node names per worker replica to avoid pidbox queue conflicts (fixes #2259). (#2269)
  • clp-json/clp-text: Write worker logs to stdout/stderr rather than files. (#2325)
    • Breaking: Users who rely on parsing the worker log files will need to update their processes to parse the logs from each container’s stdout/stderr.
  • clp-json/clp-text: Switch Python component log format from (1) unstructured to JSON, and (2) local timestamps to UTC ISO-8601 timestamps. (#2339)
    • Breaking: Users who rely on parsing the previous log format will need to update their processes to support the new format.
  • log-ingestor: Prevent log loss under load by switching stdout and optional rolling-file logging to lossless background writers (fixes #2362). (#2364)
  • clp-json: Reduce load on the results-cache by flushing top-N results from an archive at once rather than after scanning each ERT in the archive. (#2306)
  • clp-json: Zstd-compress unstructured log files after converting them into KV-IR files to reduce their size before fully compressing them. (#2240)
  • log-ingestor: Move buffer_config from BaseConfig to S3-scanner and SQS-listener job configs. (#2245)

Helm

  • helm: Make scheduling settings configurable for all components and move them under a common key. (#2165)
    • Breaking: Scheduling settings for worker components (e.g., compressionWorker.replicas ) have now been moved under the top-level scheduling key (e.g., scheduling.compressionWorker.replicas).
  • helm: Replace global workerConcurrency with per-worker slotsPerPod concurrency settings. (#2327)
    • Breaking: The workerConcurrency setting has been replaced with scheduling.<workerType>.slotsPerPod.
  • helm: Gracefully handle pod replacements by re-initializing the results cache on pod restart (fixes #2257). (#2276, #2303)
  • helm: Replace hostPath-based aws_config_directory with chart-managed Secret. (#2164)
    • Breaking: Users using profiles for AWS authentication must now provide their AWS config files using Helm’s --set-file flag. See the docs for details.
  • helm: Allow configuring all third-party container images to be configurable in values.yaml. (#2305)

Core

  • core: Bundle libcrypt.so.1 in package manager packages for RHEL9+ compatibility.
  • clp-s: Rework command-line argument parsing to support outputting to multiple destinations. (#2229)
    • Breaking: The structure of the command line interface has changed. See clp-s --help for details.

View the full changelog for more details.

Thanks to @20001020ycx, @Bill-hbrhbr, @davemarco, @gibber9809, @goynam, @hoophalab, @jackluo923, @jonathan-imanu, @junhaoliao, @LinZhihao-723, @Nathan903, @quinntaylormitchell, @rishikeshdevsot, and @ShangDanLuXian for their contributions.