Skip to content

[Backport v1.28] discovery: remove networkStats option#3123

Merged
tbavelier merged 1 commit into
v1.28from
backport-3117-to-v1.28
Jun 10, 2026
Merged

[Backport v1.28] discovery: remove networkStats option#3123
tbavelier merged 1 commit into
v1.28from
backport-3117-to-v1.28

Conversation

@dd-octo-sts

@dd-octo-sts dd-octo-sts Bot commented Jun 10, 2026

Copy link
Copy Markdown

Backport d06e2cb from #3117.


What does this PR do?

Follow-up to #2822, this PR finally removes the discovery network stats option from the operator.

Motivation

DSCVR-416

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?

No.

Describe your test plan

N/A

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)

@dd-octo-sts
dd-octo-sts Bot requested a review from a team as a code owner June 10, 2026 13:26
@dd-octo-sts dd-octo-sts Bot added refactoring backport label added by backport action labels Jun 10, 2026
@dd-octo-sts
dd-octo-sts Bot requested a review from a team as a code owner June 10, 2026 13:26
@dd-octo-sts dd-octo-sts Bot added bot label added by backport bot team/container-platform labels Jun 10, 2026
@dd-octo-sts
dd-octo-sts Bot requested a review from a team as a code owner June 10, 2026 13:26
@dd-octo-sts dd-octo-sts Bot added this to the v1.28.0 milestone Jun 10, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 432a50a85d

ℹ️ 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".

Comment on lines 2543 to 2546
Default: true when omitted and the node Agent image is >= 7.78.0. Otherwise false.
If the image version cannot be determined, it is treated as latest.
type: boolean
networkStats:
description: 'DEPRECATED: NetworkStats is no longer configurable and will be ignored. Scheduled for removal in v1.28.'
properties:
enabled:
description: 'DEPRECATED: this field is ignored.'
type: boolean
type: object
type: object

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove networkStats from release CRDs too

This removes networkStats from the generated base CRD, but the release artifacts still ship the old schema: I checked rg -n "networkStats" bundle/manifests marketplaces and found it under bundle/manifests/datadoghq.com_datadogagents.yaml and the Google marketplace/addon manifests. In environments that install the operator through OLM bundles or marketplace packages, the CRDs will still advertise and accept this removed field, so the v1.28 removal is not actually reflected in the installable artifacts.

Useful? React with 👍 / 👎.

@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Jun 10, 2026

Copy link
Copy Markdown

Pipelines  Code Coverage

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

pull request linter | build   View in Datadog   GitHub Actions

ℹ️ Info

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 43.74% (+0.00%)

Useful? React with 👍 / 👎

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

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.44%. Comparing base (1a48339) to head (432a50a).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            v1.28    #3123   +/-   ##
=======================================
  Coverage   43.44%   43.44%           
=======================================
  Files         350      350           
  Lines       29994    29994           
=======================================
  Hits        13031    13031           
  Misses      16091    16091           
  Partials      872      872           
Flag Coverage Δ
unittests 43.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a48339...432a50a. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tbavelier
tbavelier merged commit ad3447a into v1.28 Jun 10, 2026
70 of 71 checks passed
@tbavelier
tbavelier deleted the backport-3117-to-v1.28 branch June 10, 2026 15:03
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.

3 participants