Skip to content

0.2.0

Latest

Choose a tag to compare

@JoobyPM JoobyPM released this 08 Jan 22:42
2bcc995

Added

  • Selective Field Recording
    Introduced a new environment variable STATS_FIELDS for controlling which stats fields are collected and stored.

    • Empty (default) → collects all fields
    • ESSENTIAL → collects a minimal, core set of CPU, memory, and network fields
    • Comma-separated list → collects only those specified fields (e.g. cpu_percent,mem_used,pids_current)
      Log messages now alert if any requested fields do not exist in the actual Docker stats payload.
  • Expanded Metrics Extraction

    • Additional fields extracted from Docker stats (e.g. block I/O, PID stats, per-CPU usage, and timestamps).
    • Enhanced memory stats (RSS, page faults, inactive pages, etc.).
    • Support for capturing read_time and preread_time as UNIX timestamps.

Changed

  • Documentation

    • Updated README.md to include examples and instructions for using the new STATS_FIELDS feature.
    • Added more detailed “Available Metrics” tables in docs/configuration.md for quick reference.
  • Internal Refactoring

    • Consolidated logic for filtering fields into a single, easily maintainable function.
    • Enhanced logging around missing or undefined fields.

Fixed

  • Resolved minor logging inconsistencies for Docker events and container restarts.