Skip to content

Jmw/fentrytracer1#51142

Draft
jmw51798 wants to merge 17 commits into
mainfrom
jmw/fentrytracer1
Draft

Jmw/fentrytracer1#51142
jmw51798 wants to merge 17 commits into
mainfrom
jmw/fentrytracer1

Conversation

@jmw51798
Copy link
Copy Markdown
Contributor

What does this PR do?

Motivation

Describe how you validated your changes

Additional Notes

akarpz and others added 15 commits May 18, 2026 11:20
This change makes the fentry-based network tracer the default over kprobe,
with graceful fallback to kprobe on unsupported kernels.

Key changes:
- Port missing features to fentry: tcp_done, tcp_read_sock, failed TCP
  connections, protocol classification (hybrid socket filter approach),
  SSL/TLS certificate collection
- Add all missing eBPF maps to fentry manager (protocol classification,
  SSL certs, TCP retransmits, TLS tags, failure telemetry)
- Change enable_fentry default to true with DD_SYSTEM_PROBE_NETWORK_ENABLE_FENTRY
  env var override
- Graceful fallback: fentry failures now log a warning and fall back to
  kprobe instead of hard-failing
- Add KMT fentry test sets (fentry_no_usm, fentry_only_usm) running on
  kernels >= 5.8 across both x86_64 and arm64

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…match

- Remove netDevQueueRawTracepoint from programs map to avoid double
  registration (once via loop, once via explicit append with TracepointName).
  Enable it directly in enabledPrograms() instead.
- Fix SSL sched_process_exit probe activation to use UID "ssl-certs"
  instead of "net", matching how it was declared via ssluprobes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adding DD_SYSTEM_PROBE_NETWORK_ENABLE_FENTRY dropped the auto-derived
DD_NETWORK_CONFIG_ENABLE_FENTRY. Keep both to avoid breaking existing
deployments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The tcp_enter_loss/recovery/probe0 kprobes (merged from main) use
BPF_BYPASSABLE_KPROBE which is defined in bpf_bypass.h. This header
was not included in tracer-fentry.c, causing eBPF compilation failure.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
If m.InitWithOptions fails after HeadlessSocketFilter opened a raw
socket, close it to avoid leaking the FD when falling back to kprobe.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ompatible with CO-RE)

- Remove unused "log" import from fentry/tracer.go
- Remove bpf_bypass.h include from tracer-fentry.c — the bypass
  mechanism's inline assembly references an undefined symbol in CO-RE
  compilation mode
- Use BPF_KPROBE instead of BPF_BYPASSABLE_KPROBE for the three
  congestion signal kprobes (tcp_enter_loss, tcp_enter_recovery,
  tcp_send_probe0)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove RETURN_IF_NOT_IN_SYSPROBE_TASK from tcp_done fentry handler.
  tcp_done fires from timeout/RST/softirq context where the PID namespace
  check fails, silently dropping failed connection tracking.
- Propagate DefaultKprobeAttachMethod to fentry manager options so the
  static kprobes (tcp_enter_loss/recovery/probe0) respect the configured
  attach method.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
tcp_done_exit must match tcp_done entry which intentionally runs without
RETURN_IF_NOT_IN_SYSPROBE_TASK for timeout/RST/softirq context. Keeping
the guard on the exit path would leave close batches unflushed for
failed connections.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adam's branch added fexit/tcp_close and fexit/tcp_done programs whose
sole purpose was calling flush_conn_close_if_full(ctx). Upstream PR
#49046 ("Remove system-probe perf batching logic") subsequently deleted
flush_conn_close_if_full along with the network_config.enable_custom_batching
flag, leaving these handlers calling an undefined function and breaking
the eBPF build with implicit-function-declaration errors.

The handlers had no other purpose, so remove them entirely along with the
tcpDoneReturn constant, its programs-map entry, and the
c.CustomBatchingEnabled-gated enableProgram block (the field itself was
also removed by #49046). Update a stale tracer.go comment that referenced
flush_conn_close_if_full.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The TCPCloseProgsMap was used as a tail-call program array for the
connection-close flush path, alongside flush_conn_close_if_full().
PR #49046 ("Remove system-probe perf batching logic") removed the map
along with the rest of the batching infrastructure, so referencing
probes.TCPCloseProgsMap here is now a Go undefined-symbol error.

Same root cause as the previous commit: rebase fallout from #49046.
The fentry tracer never used this tail-call path (the comment in
tracer.go's protocolClassificationTailCalls notes that fentry/tcp_close
does inline cleanup rather than tail-calling tcp_close_progs), so the
map registration was already vestigial.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The rebase produced two issues in the SK→fentry→kprobe selector chain:

1. The SK error-check `if` block was missing its closing brace, so a
   stray fentry.LoadTracer call from Adam's branch ended up outside any
   scope. This caused a Go syntax error ("unexpected name
   initClosedConnEventHandler, expected (") when the parser hit the
   next top-level declaration while still inside the unclosed block.

2. Adam's "warn and fall back to kprobe" pattern landed in the wrong
   place — outside the err-handling cascade — duplicating the fentry
   load attempt while the canonical fentry block (inside `if err
   != nil`) still hard-failed via `return nil, err`.

Fix both in a single edit: close the SK if-block correctly, drop the
duplicate fentry call, and apply Adam's warn-and-fall-through pattern
to the canonical fentry block. Result is the intended selector
behavior: try SK, fall through to fentry on ErrorDisabled, fall
through to kprobe on fentry failure or ErrorDisabled.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… SSL cert probes have been ported

Removes four explicit t.Skip("...not (yet) supported on fentry") guards
and three setupTracer/testConfig branches that forced
ProtocolClassificationEnabled=false under fentry. Keeps httpSupported /
httpsSupported / TestKprobeAttachWithKprobeEvents fentry gates in place
since USM transaction tracking and kprobe-specific paths are
intentionally out of scope.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Logs each tracer attempt and outcome so the SK -> fentry -> kprobe
cascade is visible in system-probe logs. Use grep "JMW network tracer:"
to see the full selection trail.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

@codex review

@datadog-official
Copy link
Copy Markdown
Contributor

datadog-official Bot commented May 20, 2026

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 2 Pipeline jobs failed

Label analysis | release-note-check   View in Datadog   GitHub Actions

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. No release note found for this PR. Please add one using 'reno' or apply the label 'changelog/no-changelog'.

Label analysis | skip-qa-check   View in Datadog   GitHub Actions

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. Missing required QA label for the PR. Please set one of 'qa/no-code-change', 'qa/done', or 'qa/rc-required'.

Useful? React with 👍 / 👎

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

Copy link
Copy Markdown

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

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: fb37158950

ℹ️ 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 thread pkg/config/setup/system_probe.go.orig Outdated
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 20, 2026

Files inventory check summary

File checks results against ancestor 9ae29b68:

Results for datadog-agent_7.81.0~devel.git.71.7a0af9d.pipeline.114554832-1_amd64.deb:

Detected file changes:

1 Changed files:

  • opt/datadog-agent/embedded/share/system-probe/ebpf/co-re/tracer-fentry.o:
    • Size changed: +64.84% (353.4 KiB) (545.07 KiB -> 898.47 KiB)

@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 20, 2026

Static quality checks

❌ Please find below the results from static quality gates
Comparison made with ancestor 9ae29b6
📊 Static Quality Gates Dashboard
🔗 SQG Job

Error

Quality gate Change Size (prev → curr → max)
agent_deb_amd64_fips (on disk) +364.14 KiB (0.05% increase) 702.864 → 703.220 → 703.150
agent_rpm_amd64_fips (on disk) +364.14 KiB (0.05% increase) 702.848 → 703.204 → 703.130
agent_suse_amd64_fips (on disk) +364.14 KiB (0.05% increase) 702.848 → 703.204 → 703.130
Gate failure full details
Quality gate Error type Error message
agent_deb_amd64_fips AbsoluteLimitExceeded static_quality_gate_agent_deb_amd64_fips failed!
Disk size 703.2 MB exceeds limit of 703.1 MB by 71.7 KB
agent_rpm_amd64_fips AbsoluteLimitExceeded static_quality_gate_agent_rpm_amd64_fips failed!
Disk size 703.2 MB exceeds limit of 703.1 MB by 75.5 KB
agent_suse_amd64_fips AbsoluteLimitExceeded static_quality_gate_agent_suse_amd64_fips failed!
Disk size 703.2 MB exceeds limit of 703.1 MB by 75.5 KB

Static quality gates prevent the PR to merge!
You can check the static quality gates confluence page for guidance. We also have a toolbox page available to list tools useful to debug the size increase.
Please either fix the size violation or request an exception.

Successful checks

Info

Quality gate Change Size (prev → curr → max)
agent_deb_amd64 +364.14 KiB (0.05% increase) 745.089 → 745.445 → 750.800
agent_rpm_amd64 +364.14 KiB (0.05% increase) 745.073 → 745.429 → 750.770
agent_rpm_arm64 +363.46 KiB (0.05% increase) 722.638 → 722.993 → 724.500
agent_rpm_arm64_fips +363.46 KiB (0.05% increase) 683.609 → 683.964 → 684.870
agent_suse_amd64 +364.14 KiB (0.05% increase) 745.073 → 745.429 → 750.770
agent_suse_arm64 +363.46 KiB (0.05% increase) 722.638 → 722.993 → 724.500
agent_suse_arm64_fips +363.46 KiB (0.05% increase) 683.609 → 683.964 → 684.870
docker_agent_amd64 +367.06 KiB (0.04% increase) 805.200 → 805.558 → 806.340
docker_agent_arm64 +366.36 KiB (0.04% increase) 807.613 → 807.971 → 810.120
docker_agent_jmx_amd64 +367.05 KiB (0.04% increase) 996.120 → 996.478 → 997.060
docker_agent_jmx_arm64 +366.36 KiB (0.04% increase) 987.311 → 987.669 → 989.800
docker_cluster_agent_amd64 +5.25 KiB (0.00% increase) 206.900 → 206.905 → 207.710
docker_host_profiler_amd64 +4.58 KiB (0.00% increase) 302.253 → 302.257 → 315.880
docker_host_profiler_arm64 +4.45 KiB (0.00% increase) 313.750 → 313.755 → 327.470
16 successful checks with minimal change (< 2 KiB)
Quality gate Current Size
agent_heroku_amd64 310.128 MiB
agent_msi 609.034 MiB
docker_cluster_agent_arm64 220.890 MiB
docker_cws_instrumentation_amd64 7.154 MiB
docker_cws_instrumentation_arm64 6.689 MiB
docker_dogstatsd_amd64 39.507 MiB
docker_dogstatsd_arm64 37.690 MiB
dogstatsd_deb_amd64 30.162 MiB
dogstatsd_deb_arm64 28.288 MiB
dogstatsd_rpm_amd64 30.162 MiB
dogstatsd_suse_amd64 30.162 MiB
iot_agent_deb_amd64 44.456 MiB
iot_agent_deb_arm64 41.417 MiB
iot_agent_deb_armhf 42.130 MiB
iot_agent_rpm_amd64 44.457 MiB
iot_agent_suse_amd64 44.457 MiB

@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da Bot commented May 20, 2026

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: a5ffa277-7279-4e87-8380-1f3c157503b7

Baseline: 9ae29b6
Comparison: 7a0af9d
Diff

Optimization Goals: ✅ No significant changes detected

Experiments ignored for regressions

Regressions in experiments with settings containing erratic: true are ignored.

perf experiment goal Δ mean % Δ mean % CI trials links
docker_containers_cpu % cpu utilization +0.49 [-2.39, +3.37] 1 Logs

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
docker_containers_cpu % cpu utilization +0.49 [-2.39, +3.37] 1 Logs
ddot_metrics memory utilization +0.35 [+0.15, +0.54] 1 Logs
quality_gate_idle_all_features memory utilization +0.20 [+0.16, +0.24] 1 Logs bounds checks dashboard
file_to_blackhole_0ms_latency egress throughput +0.03 [-0.50, +0.55] 1 Logs
file_to_blackhole_1000ms_latency egress throughput +0.01 [-0.44, +0.46] 1 Logs
uds_dogstatsd_to_api ingress throughput +0.01 [-0.20, +0.22] 1 Logs
uds_dogstatsd_to_api_v3 ingress throughput +0.00 [-0.21, +0.21] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput -0.01 [-0.10, +0.09] 1 Logs
uds_dogstatsd_20mb_12k_contexts_20_senders memory utilization -0.02 [-0.07, +0.03] 1 Logs
file_to_blackhole_100ms_latency egress throughput -0.02 [-0.15, +0.11] 1 Logs
file_to_blackhole_500ms_latency egress throughput -0.08 [-0.48, +0.31] 1 Logs
ddot_metrics_sum_cumulative memory utilization -0.10 [-0.26, +0.06] 1 Logs
otlp_ingest_logs memory utilization -0.10 [-0.21, +0.01] 1 Logs
docker_containers_memory memory utilization -0.13 [-0.23, -0.03] 1 Logs
ddot_metrics_sum_delta memory utilization -0.18 [-0.37, +0.00] 1 Logs
otlp_ingest_metrics memory utilization -0.21 [-0.37, -0.04] 1 Logs
file_tree memory utilization -0.24 [-0.28, -0.19] 1 Logs
ddot_metrics_sum_cumulativetodelta_exporter memory utilization -0.28 [-0.52, -0.05] 1 Logs
ddot_logs memory utilization -0.49 [-0.55, -0.43] 1 Logs
tcp_syslog_to_blackhole ingress throughput -0.59 [-0.77, -0.41] 1 Logs
quality_gate_idle memory utilization -0.62 [-0.67, -0.57] 1 Logs bounds checks dashboard
quality_gate_logs % cpu utilization -0.66 [-1.65, +0.33] 1 Logs bounds checks dashboard
quality_gate_metrics_logs memory utilization -1.68 [-1.93, -1.43] 1 Logs bounds checks dashboard

Bounds Checks: ✅ Passed

perf experiment bounds_check_name replicates_passed observed_value links
docker_containers_cpu simple_check_run 10/10 700 ≥ 26
docker_containers_memory memory_usage 10/10 246.59MiB ≤ 370MiB
docker_containers_memory simple_check_run 10/10 721 ≥ 26
file_to_blackhole_0ms_latency memory_usage 10/10 0.17GiB ≤ 1.20GiB
file_to_blackhole_0ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_1000ms_latency memory_usage 10/10 0.21GiB ≤ 1.20GiB
file_to_blackhole_1000ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_100ms_latency memory_usage 10/10 0.17GiB ≤ 1.20GiB
file_to_blackhole_100ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_500ms_latency memory_usage 10/10 0.18GiB ≤ 1.20GiB
file_to_blackhole_500ms_latency missed_bytes 10/10 0B = 0B
quality_gate_idle intake_connections 10/10 3 ≤ 4 bounds checks dashboard
quality_gate_idle memory_usage 10/10 144.60MiB ≤ 147MiB 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 480.63MiB ≤ 495MiB bounds checks dashboard
quality_gate_logs intake_connections 10/10 3 ≤ 6 bounds checks dashboard
quality_gate_logs memory_usage 10/10 175.55MiB ≤ 195MiB bounds checks dashboard
quality_gate_logs missed_bytes 10/10 0B = 0B bounds checks dashboard
quality_gate_metrics_logs cpu_usage 10/10 361.12 ≤ 2000 bounds checks dashboard
quality_gate_metrics_logs intake_connections 10/10 4 ≤ 6 bounds checks dashboard
quality_gate_metrics_logs memory_usage 10/10 375.89MiB ≤ 430MiB bounds checks dashboard
quality_gate_metrics_logs missed_bytes 10/10 0B = 0B 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".

CI Pass/Fail Decision

Passed. All Quality Gates 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, 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_metrics_logs, bounds check missed_bytes: 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_logs, bounds check memory_usage: 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.

Adam's "feat(npm): make fentry tracer the default network tracer"
commit message says the default should be true, but the diff left it
at false. Flip it for testing so fentry actually loads without
DD_NETWORK_CONFIG_ENABLE_FENTRY needing to be set.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jmw51798 jmw51798 force-pushed the jmw/fentrytracer1 branch from fb37158 to 7a0af9d Compare May 21, 2026 17:12
@github-actions
Copy link
Copy Markdown
Contributor

@codex review

@github-actions github-actions Bot added medium review PR review might take time and removed long review PR is complex, plan time to review it labels May 21, 2026
Copy link
Copy Markdown

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

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: 7a0af9dd04

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

EnableEbpfless bool

// EnableFentry enables the experimental fentry tracer (disabled by default)
// EnableFentry enables the fentry tracer (disabled by default, enable via config or DD_SYSTEM_PROBE_NETWORK_ENABLE_FENTRY)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P3 Badge Align fentry default comment with actual default

The field comment says fentry is "disabled by default," but this commit sets network_config.enable_fentry default to true in InitSystemProbeConfig (pkg/config/setup/system_probe.go). This mismatch creates stale in-repo documentation and can mislead operators or tooling that reads these comments about how the tracer is selected by default.

Useful? React with 👍 / 👎.

Adam's earlier switch to BPF_KPROBE (in 73ae536 "bpf_bypass.h
incompatible with CO-RE") was based on a misdiagnosis. The CO-RE
incompatibility claim was empirically disproven: a pre-Adam mainline
agent on Azure AKS loads the BPF_BYPASSABLE_KPROBE handlers in the
CO-RE fentry .o without issue, with kprobe__tcp_enter_loss attached
and firing.

Reasons to restore the bypassable variant:
- tracer.c (runtime kprobe tracer) uses BPF_BYPASSABLE_KPROBE for
  the same three handlers. The two NPM tracer variants should
  behave consistently.
- The bypass mechanism wires into tracer.Pause()/Resume() via
  ebpf-manager's BypassEnabled option. With BPF_KPROBE here, the
  fentry tracer silently leaves these probes firing under Pause()
  while the kprobe tracer pauses them — a test-time asymmetry.
- Cost is negligible (~2-4 extra BPF instructions per call on cold
  TCP state transitions).

Also add an explicit #include "bpf_bypass.h" to make the dependency
clear, rather than relying on the transitive chain through
tracer/stats.h → protocols/tls/tls-certs.h.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

@codex review

Copy link
Copy Markdown

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

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: 5afca455db

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

cfg.BindEnvAndSetDefault("network_config.enable_co_re", true)
cfg.BindEnvAndSetDefault("network_config.enable_fentry", false)
cfg.BindEnvAndSetDefault("network_config.enable_sk_tracer", false)
cfg.BindEnvAndSetDefault("network_config.enable_fentry", true, "DD_SYSTEM_PROBE_NETWORK_ENABLE_FENTRY", "DD_NETWORK_CONFIG_ENABLE_FENTRY")
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 fentry default aligned with config schema

This flips network_config.enable_fentry to default true at runtime, but the schema still declares it as false (pkg/config/schema/system-probe_schema.yaml), so schema-driven outputs and tooling can disagree with actual agent behavior. That mismatch makes troubleshooting and rollout control error-prone (for example, generated/default config views show fentry off while the process enables it). Please update the schema/default metadata in the same change so all config paths agree.

Useful? React with 👍 / 👎.

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.

2 participants