Skip to content

feat: Collect the containerdebug logs - #205

Merged
siegfriedweber merged 9 commits into
mainfrom
feat/collect-containerdebug-logs
Nov 10, 2026
Merged

siegfriedweber merged 9 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.

containerdebug was never started in the OpenSearch container. The invocation was guarded with command --search containerdebug, which is fish syntax: the bash builtin accepts only -p, -V and -v, so the guard exited with an invalid-option error and was always false. Every Pod printed "containerdebug not installed; Proceed without it." instead. The guard now uses the POSIX command -v.

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

@siegfriedweber
siegfriedweber marked this pull request as ready for review November 9, 2026 17:04
@siegfriedweber siegfriedweber moved this to Development: In Review in Stackable Engineering Nov 9, 2026
NickLarsenNZ
NickLarsenNZ previously approved these changes Nov 10, 2026

@NickLarsenNZ NickLarsenNZ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some suggested changes

Comment thread Cargo.lock Resolved
Comment thread Cargo.nix Resolved
@siegfriedweber
siegfriedweber added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit 0616bfb Nov 10, 2026
13 checks passed
@siegfriedweber
siegfriedweber deleted the feat/collect-containerdebug-logs branch November 10, 2026 11:01
@siegfriedweber siegfriedweber moved this from Development: In Review to Development: Done in Stackable Engineering Nov 10, 2026
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

3 participants