Skip to content

feat: Collect the containerdebug logs - #832

Draft
siegfriedweber wants to merge 3 commits into
mainfrom
feat/collect-containerdebug-logs
Draft

siegfriedweber wants to merge 3 commits into
mainfrom
feat/collect-containerdebug-logs

Conversation

@siegfriedweber

@siegfriedweber siegfriedweber commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Description

The logs of the containerdebug process are now forwarded to the Vector aggregator. They arrive as a pseudo-container named containerdebug, next to the product and Vector logs.

No log file was written so far: the operator set CONTAINERDEBUG_LOG_DIRECTORY, which containerdebug stopped reading in its version 0.2.0 when it moved to stackable-telemetry. The directory is now set via FILE_LOG_DIRECTORY, together with FILE_LOG_ROTATION_PERIOD=hourly and FILE_LOG_MAX_FILES=2, because rotation is opt-in there and the file lies in the size-capped log volume.

A new Vector source and transform map the tracing-rs JSON onto the common log schema.

The logging docs explain the container label and what overriding FILE_LOG_DIRECTORY does to the aggregation.

Part of stackabletech/issues#909

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant