Add flightrecorder feature to the operator#2785
Draft
misteriaud wants to merge 4 commits intomainfrom
Draft
Conversation
Flight Recorder is a Rust sidecar that records agent pipeline signals (metrics, logs) to Vortex columnar files. This adds operator support so users can enable it via `spec.features.flightRecorder.enabled` in the DatadogAgent CRD. The operator creates a flightrecorder container in the agent pod with: - Shared emptyDir volume at /var/run/flightrecorder for Unix socket IPC - Data volume at /data/signals for Vortex output files - DD_FLIGHTRECORDER_ENABLED and DD_FLIGHTRECORDER_SOCKET_PATH env vars on the core agent container Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2785 +/- ##
==========================================
+ Coverage 38.78% 39.04% +0.26%
==========================================
Files 309 310 +1
Lines 26839 27080 +241
==========================================
+ Hits 10409 10573 +164
- Misses 15650 15719 +69
- Partials 780 788 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Request 50Mi, limit 200Mi — based on DESIGN.md benchmarks showing 33-61MB RSS for the recorder sidecar. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
spec.features.flightRecorder.enabledto the DatadogAgent CRDflightrecordersidecar container in the agent pod when enabled/var/run/flightrecorder) for agent-to-flightrecorder IPC/data/signals) for Vortex columnar output filesDD_FLIGHTRECORDER_ENABLEDandDD_FLIGHTRECORDER_SOCKET_PATHenv vars on the core agentTest plan
go build ./...passesgo test ./internal/controller/datadogagent/feature/...passes🤖 Generated with Claude Code