Skip to content

Support remote-config updates for OtelAgentGateway (DDOT cluster) - #3322

Draft
Stanislas167 wants to merge 1 commit into
mainfrom
splowiecki/rc-otel-agent-gateway
Draft

Support remote-config updates for OtelAgentGateway (DDOT cluster)#3322
Stanislas167 wants to merge 1 commit into
mainfrom
splowiecki/rc-otel-agent-gateway

Conversation

@Stanislas167

Copy link
Copy Markdown

The RemoteConfigUpdater already merges AGENT_CONFIG remote-config payloads into DatadogAgent.Status.RemoteConfigConfiguration for CWS, CSPM, and USM, but had no handling for OtelAgentGateway (the cluster-level DDOT deployment). This adds an otel_agent_gateway field to DatadogAgentRemoteConfig, merges/records it the same way as the other Enabled-only features, and has the otelagentgateway feature merge Status.RemoteConfigConfiguration into the spec before checking whether the feature is enabled, matching the pattern used by cws/cspm/usm.

What does this PR do?

A brief description of the change being made with this pull request.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Minimum Agent Versions

Are there minimum versions of the Datadog Agent and/or Cluster Agent required?

  • Agent: vX.Y.Z
  • Cluster Agent: vX.Y.Z

Describe your test plan

Write there any instructions and details you may have to test your PR.

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies
  • PR has a milestone or the qa/skip-qa label
  • All commits are signed (see: signing commits)

The RemoteConfigUpdater already merges AGENT_CONFIG remote-config
payloads into DatadogAgent.Status.RemoteConfigConfiguration for CWS,
CSPM, and USM, but had no handling for OtelAgentGateway (the
cluster-level DDOT deployment). This adds an otel_agent_gateway field
to DatadogAgentRemoteConfig, merges/records it the same way as the
other Enabled-only features, and has the otelagentgateway feature merge
Status.RemoteConfigConfiguration into the spec before checking whether
the feature is enabled, matching the pattern used by cws/cspm/usm.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@datadog-datadog-us1-prod

Copy link
Copy Markdown

Code Coverage

🛑 Gate Violations

🎯 1 Code Coverage issue detected

A Patch coverage percentage gate may be blocking this PR.

Patch coverage: no data available (threshold: 80.00%)

ℹ️ Info

🎯 Code Coverage (details)
Patch Coverage: No data available
Overall Coverage: 47.73% (-0.02%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 6c4b09a | Docs | Datadog PR Page | Give us feedback!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant