Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(trace-agent): Add readiness probe to datadog-agent trace-agent container #1565

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dannydombrowski
Copy link

@dannydombrowski dannydombrowski commented Oct 18, 2024

What this PR does / why we need it:

When using the Datadog service (e.g., http://datadog-agent:8126/v0.5/traces), the endpoint for a newly created pod becomes available as soon as the pod become ready and the readinessProbe succeeds.

Currently, the datadog-agent has a readinessProbe configured for the agent, but not for the trace-agent. As a result, the trace-agent may start receiving traffic before it is fully ready.

This PR adds a readinessProbe for the trace-agent to ensure it only begins receiving traffic once it is ready to accept traffic, preventing potential issues with premature traffic handling.

Which issue this PR fixes

While this is not a complete fix for issue #17310, it will help lower the number of failed messages.

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Chart Version bumped
  • Documentation has been updated with helm-docs (run: .github/helm-docs.sh)
  • CHANGELOG.md has been updated
  • Variables are documented in the README.md
  • For Datadog Operator chart or value changes update the test baselines (run: make update-test-baselines)

@dannydombrowski dannydombrowski requested review from a team as code owners October 18, 2024 15:43
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