Skip to content

refactor(kubelet): Retire legacy Python check through integrations-core - #54295

Closed
tbavelier wants to merge 1 commit into
mainfrom
retire-python-kubelet-check
Closed

refactor(kubelet): Retire legacy Python check through integrations-core#54295
tbavelier wants to merge 1 commit into
mainfrom
retire-python-kubelet-check

Conversation

@tbavelier

Copy link
Copy Markdown
Member

What does this PR do?

Retires the Python kubelet fallback through the established cross-repository flow:

  • pins integrations-core to Remove legacy Python kubelet check integrations-core#24745, where the datadog-kubelet Python project is removed
  • moves conf.yaml.default and conf.yaml.example into the Agent's core-check configuration tree
  • removes kubelet_core_check_enabled from configuration setup and schema
  • removes the Go check's fallback guard, so kubelet configurations are always handled by the core check

Because the pinned integrations commit no longer has kubelet/pyproject.toml, the existing Agent packaging discovery naturally omits the wheel and datadog_checks/kubelet from embedded Python. No Agent-specific wheel exclusion is introduced.

Motivation

The Go kubelet core check has been the default since #25033. The Python implementation now only supports the explicit kubelet_core_check_enabled: false rollback path, while still occupying the embedded Python site-packages directory.

This follows the same ownership model used for core-only checks such as NTP and Datadog CSI Driver: runtime code and configuration live in datadog-agent; public integration assets remain in integrations-core.

Describe how you validated your changes

  • dda inv test --targets=./pkg/collector/corechecks/containers/kubelet/...,./pkg/config/setup --build-exclude=systemd (449 tests passed)
  • dda inv schema.lint
  • bazel run //bazel/buildifier
  • bazel test //deps/agent_integrations:source_packages_tests
  • bazel build //cmd/agent/dist/conf.d:base_checks_files
  • queried @integration_source_packages and confirmed there is no kubelet package target, wheel reference, or datadog-kubelet release requirement
  • queried //cmd/agent/dist/conf.d:base_checks_files and confirmed both Agent-owned kubelet configuration files are packaged
  • pre-push go-mod-tidy, go-test, and go-linter hooks passed

The companion integrations-core branch also passes CI configuration, release requirements, CODEOWNERS, labeler, README, metadata, and service-check validations.

Additional Notes

Depends on DataDog/integrations-core#24745.

Draft #54294 remains unchanged so its CI results can be compared with this established two-repository approach. This PR supersedes that implementation direction and deliberately does not add a wheel-exclusion mechanism.

This changes cross-platform package assembly, so RC validation is requested.

@tbavelier tbavelier added qa/rc-required Only for a PR that requires validation on the Release Candidate team/container-integrations team/agent-build labels Jul 31, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@codex review

@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: ec293ce225

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

"go_expvar",
"io",
"jmx",
"kubelet",

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 Keep the invoke core-check list in sync

Adding kubelet only to the Bazel list makes Bazel packages pick up kubelet.d, but tasks/core_checks.py still omits it. The dda inv agent.build path copies conf.d directories from that Python list in tasks/agent.py, so non-Bazel Agent builds will not include the new kubelet.d default and therefore will not auto-schedule the Go kubelet check after the Python check is removed. Mirror this entry in tasks/core_checks.py.

Useful? React with 👍 / 👎.

Comment on lines +61 to +64
## URL of the cadvisor metrics prometheus endpoint.
## Pass an empty string, or set the cadvisor_port option to disable cadvisor metrics collection.
#
# cadvisor_metrics_endpoint: http://10.8.0.1:10255/metrics/cadvisor

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 Honor the cAdvisor disable setting

In the upgrade path where users previously set kubelet_core_check_enabled: false and used the Python kubelet config to disable or redirect cAdvisor scraping, this new bundled config still documents cadvisor_metrics_endpoint/cadvisor_port as effective knobs, but the Go kubelet check now always handles the config and does not parse a cAdvisor endpoint or port; its provider hardcodes /metrics/cadvisor. Those installations will silently re-enable cAdvisor scrapes on upgrade, so the Go config should preserve this compatibility or the advertised knobs should not be shipped.

Useful? React with 👍 / 👎.

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 52.20% (+0.13%)

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

@dd-octo-sts

dd-octo-sts Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Files inventory check summary

File checks results against ancestor 83b0223d:

Results for datadog-agent_7.83.0~devel.git.489.ec293ce.pipeline.128201545-1_amd64.deb:

Detected file changes:

41 Added files:

  • opt/datadog-agent/embedded/lib/python3.13/site-packages/annotated_types-0.8.0.dist-info/METADATA (14.66 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_http_check-13.0.0.dist-info/METADATA (13.18 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.2.dist-info/LICENSE.txt (11.09 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry_api-1.44.0.dist-info/licenses/LICENSE (11.09 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_kafka_consumer-8.1.2.dist-info/METADATA (9.67 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/platformdirs-4.11.0.dist-info/METADATA (5.38 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/soupsieve-2.9.1.dist-info/METADATA (4.48 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry_api-1.44.0.dist-info/RECORD (4.18 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_snmp-13.1.1.dist-info/METADATA (2.75 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/certifi-2026.7.22.dist-info/METADATA (2.42 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_snmp-13.1.1.dist-info/RECORD (2.07 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/squid/config_models/discovery.py (1.78 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_kafka_consumer-8.1.2.dist-info/RECORD (1.77 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.2.dist-info/RECORD (1.73 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.2.dist-info/METADATA (1.7 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry_api-1.44.0.dist-info/METADATA (1.38 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_http_check-13.0.0.dist-info/RECORD (1.22 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/platformdirs-4.11.0.dist-info/RECORD (1.09 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/soupsieve-2.9.1.dist-info/licenses/LICENSE.md (1.07 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/platformdirs-4.11.0.dist-info/licenses/LICENSE (1.06 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/annotated_types-0.8.0.dist-info/licenses/LICENSE (1.06 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/certifi-2026.7.22.dist-info/licenses/LICENSE (989.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/soupsieve-2.9.1.dist-info/RECORD (933.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/certifi-2026.7.22.dist-info/RECORD (781.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/squid/config_models/discovery_strategies.py (762.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/annotated_types-0.8.0.dist-info/RECORD (585.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry_api-1.44.0.dist-info/entry_points.txt (573.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/squid/config_models/discovery_overrides.py (490.0 B)
  • etc/datadog-agent/conf.d/squid.d/auto_conf.yaml (444.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_http_check-13.0.0.dist-info/WHEEL (105.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_kafka_consumer-8.1.2.dist-info/WHEEL (105.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_snmp-13.1.1.dist-info/WHEEL (105.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/certifi-2026.7.22.dist-info/WHEEL (91.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.2.dist-info/WHEEL (91.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/annotated_types-0.8.0.dist-info/WHEEL (87.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry_api-1.44.0.dist-info/WHEEL (87.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/platformdirs-4.11.0.dist-info/WHEEL (87.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/soupsieve-2.9.1.dist-info/WHEEL (87.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.2.dist-info/NOTICE.txt (83.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.2.dist-info/top_level.txt (11.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/certifi-2026.7.22.dist-info/top_level.txt (8.0 B)

55 Removed files:

  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/kubelet.py (33.12 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/prometheus.py (26.37 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/annotated_types-0.7.0.dist-info/METADATA (14.69 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.1.dist-info/LICENSE.txt (11.09 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry_api-1.43.0.dist-info/licenses/LICENSE (11.09 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_http_check-12.7.1.dist-info/METADATA (11.07 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/common.py (9.75 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_kafka_consumer-8.1.1.dist-info/METADATA (9.67 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/summary.py (8.09 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry/_events/__init__.py (7.62 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/cadvisor.py (7.46 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/config_models/instance.py (6.62 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/platformdirs-4.10.0.dist-info/METADATA (5.33 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/soupsieve-2.8.4.dist-info/METADATA (4.53 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/probes.py (4.35 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry_api-1.43.0.dist-info/RECORD (4.35 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_kubelet-10.4.0.dist-info/METADATA (3.93 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_snmp-13.1.0.dist-info/METADATA (2.75 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/certifi-2026.6.17.dist-info/METADATA (2.42 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/config_models/defaults.py (2.26 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_snmp-13.1.0.dist-info/RECORD (2.07 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/config_models/shared.py (1.99 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_kafka_consumer-8.1.1.dist-info/RECORD (1.77 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.1.dist-info/RECORD (1.73 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.1.dist-info/METADATA (1.7 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_kubelet-10.4.0.dist-info/RECORD (1.45 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry_api-1.43.0.dist-info/METADATA (1.38 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_http_check-12.7.1.dist-info/RECORD (1.22 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/platformdirs-4.10.0.dist-info/RECORD (1.09 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/soupsieve-2.8.4.dist-info/licenses/LICENSE.md (1.07 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/platformdirs-4.10.0.dist-info/licenses/LICENSE (1.06 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/annotated_types-0.7.0.dist-info/licenses/LICENSE (1.06 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/certifi-2026.6.17.dist-info/licenses/LICENSE (989.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/soupsieve-2.8.4.dist-info/RECORD (933.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/certifi-2026.6.17.dist-info/RECORD (781.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/config_models/__init__.py (729.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/annotated_types-0.7.0.dist-info/RECORD (585.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry_api-1.43.0.dist-info/entry_points.txt (573.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/config_models/validators.py (515.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/__init__.py (382.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/kubelet/__about__.py (139.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_http_check-12.7.1.dist-info/WHEEL (105.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_kafka_consumer-8.1.1.dist-info/WHEEL (105.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_kubelet-10.4.0.dist-info/WHEEL (105.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_snmp-13.1.0.dist-info/WHEEL (105.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/certifi-2026.6.17.dist-info/WHEEL (91.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.1.dist-info/WHEEL (91.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/annotated_types-0.7.0.dist-info/WHEEL (87.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry_api-1.43.0.dist-info/WHEEL (87.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/platformdirs-4.10.0.dist-info/WHEEL (87.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/soupsieve-2.8.4.dist-info/WHEEL (87.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.1.dist-info/NOTICE.txt (83.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/s3transfer-0.19.1.dist-info/top_level.txt (11.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/certifi-2026.6.17.dist-info/top_level.txt (8.0 B)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry/_events/py.typed (0 B)

6 Changed files:

  • opt/datadog-agent/embedded/lib/python3.13/site-packages/platformdirs/__init__.py:
    • Size changed: +15.63% (4.94 KiB) (31.57 KiB -> 36.51 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/clickhouse/clickhouse.py:
    • Size changed: +14.60% (3.52 KiB) (24.12 KiB -> 27.64 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/sap_hana/schemas.py:
    • Size changed: +27.05% (4.08 KiB) (15.1 KiB -> 19.19 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_checks/clickhouse/utils.py:
    • Size changed: +180.50% (2.87 KiB) (1.59 KiB -> 4.45 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/opentelemetry/context/context.py:
    • Size changed: +45.32% (537.0 B) (1.16 KiB -> 1.68 KiB)
  • opt/datadog-agent/embedded/lib/python3.13/site-packages/datadog_squid-5.4.0.dist-info/RECORD:
    • Size changed: +33.07% (331.0 B) (1001.0 B -> 1.3 KiB)

@dd-octo-sts

dd-octo-sts Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Static quality checks

✅ Please find below the results from static quality gates
Comparison made with ancestor 83b0223
📊 Static Quality Gates Dashboard
🔗 SQG Job

Successful checks

Info

Quality gate Change Size (prev → curr → max)
agent_deb_amd64 -87.78 KiB (0.01% reduction, +1.57% of buffer) 752.727 → 752.641 → 758.200
agent_deb_amd64_fips -91.78 KiB (0.01% reduction, +2.90% of buffer) 707.430 → 707.340 → 710.520
agent_heroku_amd64 -87.78 KiB (0.03% reduction, +1.21% of buffer) 308.129 → 308.043 → 315.230
agent_msi -86.25 KiB (0.01% reduction, +0.46% of buffer) 638.323 → 638.239 → 656.640
agent_rpm_amd64 -87.78 KiB (0.01% reduction, +1.57% of buffer) 752.711 → 752.625 → 758.170
agent_rpm_amd64_fips -91.78 KiB (0.01% reduction, +2.88% of buffer) 707.413 → 707.324 → 710.520
agent_rpm_arm64 -87.78 KiB (0.01% reduction, +21.01% of buffer) 729.252 → 729.166 → 729.660
agent_rpm_arm64_fips -87.78 KiB (0.01% reduction, +4.79% of buffer) 687.120 → 687.034 → 688.910
agent_suse_amd64 -87.78 KiB (0.01% reduction, +1.57% of buffer) 752.711 → 752.625 → 758.170
agent_suse_amd64_fips -91.78 KiB (0.01% reduction, +2.88% of buffer) 707.413 → 707.324 → 710.520
agent_suse_arm64 -87.78 KiB (0.01% reduction, +21.01% of buffer) 729.252 → 729.166 → 729.660
agent_suse_arm64_fips -87.78 KiB (0.01% reduction, +4.79% of buffer) 687.120 → 687.034 → 688.910
docker_agent_amd64 -87.78 KiB (0.01% reduction, +3.56% of buffer) 811.383 → 811.297 → 813.790
docker_agent_arm64 -87.78 KiB (0.01% reduction, +4.20% of buffer) 812.987 → 812.902 → 815.030
docker_agent_jmx_amd64 -87.77 KiB (0.01% reduction, +3.78% of buffer) 1002.281 → 1002.195 → 1004.550
docker_agent_jmx_arm64 -87.78 KiB (0.01% reduction, +3.95% of buffer) 992.537 → 992.452 → 994.710
docker_dogstatsd_arm64 +64.0 KiB (0.17% increase, -6.92% of buffer) 37.367 → 37.430 → 38.270
16 successful checks with minimal change (< 2 KiB)
Quality gate Current Size
docker_cluster_agent_amd64 209.932 MiB
docker_cluster_agent_arm64 223.011 MiB
docker_cws_instrumentation_amd64 7.439 MiB
docker_cws_instrumentation_arm64 6.877 MiB
docker_dogstatsd_amd64 39.262 MiB
docker_host_profiler_amd64 305.308 MiB
docker_host_profiler_arm64 316.620 MiB
dogstatsd_deb_amd64 30.007 MiB
dogstatsd_deb_arm64 28.043 MiB
dogstatsd_rpm_amd64 30.007 MiB
dogstatsd_suse_amd64 30.007 MiB
iot_agent_deb_amd64 46.212 MiB
iot_agent_deb_arm64 42.900 MiB
iot_agent_deb_armhf 43.660 MiB
iot_agent_rpm_amd64 46.213 MiB
iot_agent_suse_amd64 46.212 MiB

@cit-pr-commenter-54b7da

Copy link
Copy Markdown

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: 0842af44-7687-431d-a338-5a9568660d39

Baseline: ab7825c
Comparison: ec293ce
Diff

Optimization Goals: ✅ No significant changes detected

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
quality_gate_private_action_runner memory utilization +1.21 [+1.08, +1.33] 1 Logs bounds checks dashboard
quality_gate_logs % cpu utilization +0.79 [-0.20, +1.78] 1 Logs bounds checks dashboard
quality_gate_idle memory utilization +0.42 [+0.37, +0.47] 1 Logs bounds checks dashboard
quality_gate_security_idle memory utilization +0.35 [+0.30, +0.40] 1 Logs bounds checks dashboard
quality_gate_security_no_fs_load memory utilization +0.19 [+0.10, +0.28] 1 Logs bounds checks dashboard
quality_gate_security_mean_fs_load memory utilization +0.08 [+0.04, +0.12] 1 Logs bounds checks dashboard
quality_gate_metrics_logs memory utilization +0.06 [-0.19, +0.30] 1 Logs bounds checks dashboard
quality_gate_idle_all_features memory utilization +0.04 [+0.00, +0.08] 1 Logs bounds checks dashboard

Bounds Checks: ✅ Passed

perf experiment bounds_check_name replicates_passed observed_value links
quality_gate_idle intake_connections 10/10 3 ≤ 4 bounds checks dashboard
quality_gate_idle memory_usage 10/10 149.94MiB ≤ 154MiB bounds checks dashboard
quality_gate_idle total_bytes_received 10/10 732.68KiB ≤ 819.20KiB bounds checks dashboard
quality_gate_idle_all_features intake_connections 10/10 3 ≤ 4 bounds checks dashboard
quality_gate_idle_all_features memory_usage 10/10 496.97MiB ≤ 512MiB bounds checks dashboard
quality_gate_idle_all_features total_bytes_received 10/10 1.12MiB ≤ 1.25MiB bounds checks dashboard
quality_gate_logs intake_connections 10/10 4 ≤ 6 bounds checks dashboard
quality_gate_logs memory_usage 10/10 187.34MiB ≤ 195MiB bounds checks dashboard
quality_gate_logs missed_bytes 10/10 0B = 0B bounds checks dashboard
quality_gate_logs total_bytes_received 10/10 264.18MiB ≤ 292MiB bounds checks dashboard
quality_gate_metrics_logs cpu_usage 10/10 359.56 ≤ 2000 bounds checks dashboard
quality_gate_metrics_logs intake_connections 10/10 3 ≤ 6 bounds checks dashboard
quality_gate_metrics_logs memory_usage 10/10 400.33MiB ≤ 430MiB bounds checks dashboard
quality_gate_metrics_logs missed_bytes 10/10 0B = 0B bounds checks dashboard
quality_gate_metrics_logs total_bytes_received 10/10 0.93GiB ≤ 1.04GiB bounds checks dashboard
quality_gate_private_action_runner memory_usage 10/10 72.16MiB ≤ 75MiB bounds checks dashboard
quality_gate_security_idle cpu_usage 10/10 28.77 ≤ 100 bounds checks dashboard
quality_gate_security_idle memory_usage 10/10 302.12MiB ≤ 330MiB bounds checks dashboard
quality_gate_security_mean_fs_load cpu_usage 10/10 65.22 ≤ 200 bounds checks dashboard
quality_gate_security_mean_fs_load memory_usage 10/10 280.01MiB ≤ 310MiB bounds checks dashboard
quality_gate_security_no_fs_load cpu_usage 10/10 23.48 ≤ 100 bounds checks dashboard
quality_gate_security_no_fs_load memory_usage 10/10 283.90MiB ≤ 320MiB bounds checks dashboard

Explanation

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

Replicate Execution Details

We run multiple replicates for each experiment/variant. However, we allow replicates to be automatically retried if there are any failures, up to 8 times, at which point the replicate is marked dead and we are unable to run analysis for the entire experiment. We call each of these attempts at running replicates a replicate execution. This section lists all replicate executions that failed due to the target crashing or being oom killed.

Note: In the below tables we bucket failures by experiment, variant, and failure type. For each of these buckets we list out the replicate indexes that failed with an annotation signifying how many times said replicate failed with the given failure mode. In the below example the baseline variant of the experiment named experiment_with_failures had two replicates that failed by oom kills. Replicate 0, which failed 8 executions, and replicate 1 which failed 6 executions, all with the same failure mode.

Experiment Variant Replicates Failure Logs Debug Dashboard
experiment_with_failures baseline 0 (x8) 1 (x6) Oom killed Debug Dashboard

The debug dashboard links will take you to a debugging dashboard specifically designed to investigate replicate execution failures.

❌ Retried Profiling Replicate Execution Failures (ddprof)

Note: Profiling replicas may still be executing. See the debug dashboard for up to date status.

Experiment Variant Replicates Failure Debug Dashboard
quality_gate_idle_all_features baseline 10 Oom killed Debug Dashboard
quality_gate_idle_all_features comparison 10 Oom killed Debug Dashboard
quality_gate_metrics_logs baseline 10 Oom killed Debug Dashboard
quality_gate_metrics_logs comparison 10 Oom killed Debug Dashboard
quality_gate_security_idle baseline 10 Crashed (exit code: 134) Debug Dashboard
quality_gate_security_idle comparison 10 Crashed (exit code: 134) Debug Dashboard

CI Pass/Fail Decision

Passed. All Quality Gates passed.

  • quality_gate_security_no_fs_load, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_security_no_fs_load, bounds check cpu_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check cpu_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check missed_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check total_bytes_received: 10/10 replicas passed. Gate passed.
  • quality_gate_security_idle, bounds check cpu_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_security_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check total_bytes_received: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check total_bytes_received: 10/10 replicas passed. Gate passed.
  • quality_gate_security_mean_fs_load, bounds check cpu_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_security_mean_fs_load, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_private_action_runner, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check total_bytes_received: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check missed_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.

@tbavelier tbavelier closed this Jul 31, 2026
@tbavelier
tbavelier deleted the retire-python-kubelet-check branch July 31, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Identify a non-fork PR long review PR is complex, plan time to review it qa/rc-required Only for a PR that requires validation on the Release Candidate team/agent-build team/agent-delivery team/agent-integrations team/container-integrations team/fleet-automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant