feat(datadog): expose agents.containers.otelAgent.syncDelay to configure otel-agent startup sync timeout - #2858
Open
gb8may wants to merge 3 commits into
Open
feat(datadog): expose agents.containers.otelAgent.syncDelay to configure otel-agent startup sync timeout#2858gb8may wants to merge 3 commits into
gb8may wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fbc7a8ceca
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
…eline whitespace Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
gb8may
force-pushed
the
expose-otel-agent-sync-delay
branch
from
August 12, 2026 19:22
3161cbe to
4f12889
Compare
gpalmz
approved these changes
Aug 26, 2026
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.
What this PR does / why we need it:
What
Adds
agents.containers.otelAgent.syncDelay(default:30s) to controlhow long
otel-agentwaits for the core agent to be ready on startup,replacing the previously hardcoded
--sync-delay=30sflag on both Linuxand Windows.
Why
datadog/agent:7.81.1(shipped with chart>=3.234.0) initializes slowerthan previous versions. On fresh node starts with
otelCollector.enabled: true,otel-agenttimes out waiting for the core agent and entersCrashLoopBackOffbefore the core agent is ready to accept connections.
The
--sync-delayflag already exists in the binary but was not exposed as achart value, leaving users no way to increase it without a post-render patch.
How to use
Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged)Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
<chartName>/minor-version,<chartName>/patch-version, or<chartName>/no-version-bump)datadogordatadog-operatorchart or value changes, update the test baselines (run:make update-test-baselines)datadogchart changes, received ✅ from a member of your teamGitHub CI takes care of the below, but are still required:
.github/helm-docs.sh)CHANGELOG.mdhas been updatedREADME.md