Skip to content

[WP] Serialize tracer metadata struct in process#48487

Open
Gui774ume wants to merge 2 commits intomainfrom
will/serialize-tracermetadata-in-process
Open

[WP] Serialize tracer metadata struct in process#48487
Gui774ume wants to merge 2 commits intomainfrom
will/serialize-tracermetadata-in-process

Conversation

@Gui774ume
Copy link
Copy Markdown
Contributor

What does this PR do?

This PR replaces the TracerTags []string field on the Process struct with the full TracerMetadata struct. This allows security events and CWS serializers to carry the complete tracer metadata (language, version, hostname, service name/env/version, process tags, etc.) instead of a pre-flattened list of tag strings.
Key changes:

  • Process.TracerTags []string replaced by Process.TracerMetadata tracermetadata.TracerMetadata in the secl model (Unix + Windows).
  • CWS serializer now emits the full TracerMetadata struct as "tracer" JSON instead of a flat map[string]string.
  • Network event monitor iterates over TracerMetadata.Tags() directly instead of consuming pre-built tag slices.
  • Process resolver stores the raw TracerMetadata on cache entries instead of converting to tags at resolution time.
  • Deep copy codegen updated for the new struct on both Unix and Windows.

Motivation

Storing only flattened tags ([]string) on the Process struct discards structured tracer metadata (schema version, runtime ID, hostname, logs collection status, etc.) that downstream consumers need. By keeping the full TracerMetadata struct through the pipeline, we:

  1. Preserve all tracer fields for CWS event serialization, giving backend consumers richer context.
  2. Avoid redundant string splitting/joining — consumers that need key-value pairs can iterate via Tags() without re-parsing.
  3. Make it possible for future consumers (e.g., workloadmeta, tagger) to access individual fields without string manipulation.

Describe how you validated your changes

  • Unit tests in pkg/network/events/, pkg/security/tests/, and pkg/discovery/tracermetadata/ updated and passing.

Additional Notes

  • The CWS event JSON schema (docs/cloud-workload-security/) has been updated to reflect the new tracer field structure (full struct instead of map[string]string).
  • This is a breaking change for any downstream consumer parsing the "tracer" field in CWS events — it changes from {"key": "value", ...} to the full TracerMetadata JSON representation with named fields (tracer_language, service_name, etc.).

@Gui774ume Gui774ume added this to the 7.79.0 milestone Mar 27, 2026
@Gui774ume Gui774ume requested review from a team as code owners March 27, 2026 12:25
@Gui774ume Gui774ume added changelog/no-changelog No changelog entry needed component/system-probe team/agent-security qa/done QA done before merge and regressions are covered by tests labels Mar 27, 2026
@agent-platform-auto-pr
Copy link
Copy Markdown
Contributor

agent-platform-auto-pr bot commented Mar 27, 2026

Go Package Import Differences

Baseline: 605a112
Comparison: 7f30aed

binaryosarchchange
agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
agentlinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
agentwindowsamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
agentdarwinamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
agentdarwinarm64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
iot-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
iot-agentlinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
heroku-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
cluster-agentlinuxamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
cluster-agentlinuxarm64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
cluster-agent-cloudfoundrylinuxamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
cluster-agent-cloudfoundrylinuxarm64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
dogstatsdlinuxamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
dogstatsdlinuxarm64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
process-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
process-agentlinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
process-agentwindowsamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
process-agentdarwinamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
process-agentdarwinarm64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
heroku-process-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
security-agentlinuxamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
security-agentlinuxarm64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
security-agentwindowsamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
sbomgenlinuxamd64
+1, -5
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
-github.com/DataDog/datadog-agent/pkg/util/funcs
-github.com/DataDog/datadog-agent/pkg/util/kernel
-github.com/DataDog/datadog-agent/pkg/util/safeelf
-github.com/shirou/gopsutil/v4/host
sbomgenlinuxarm64
+1, -5
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
-github.com/DataDog/datadog-agent/pkg/util/funcs
-github.com/DataDog/datadog-agent/pkg/util/kernel
-github.com/DataDog/datadog-agent/pkg/util/safeelf
-github.com/shirou/gopsutil/v4/host
system-probelinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
system-probelinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
system-probewindowsamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
system-probedarwinamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
system-probedarwinarm64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
otel-agentlinuxamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
otel-agentlinuxarm64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
privateactionrunnerlinuxamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
privateactionrunnerlinuxarm64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
privateactionrunnerwindowsamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
privateactionrunnerdarwinamd64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model
privateactionrunnerdarwinarm64
+1, -1
-github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata
+github.com/DataDog/datadog-agent/pkg/discovery/tracermetadata/model

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

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

@github-actions github-actions bot added the long review PR is complex, plan time to review it label Mar 27, 2026
@Gui774ume Gui774ume force-pushed the will/add-missing-tracermetadata-tags branch from ff9ff94 to 5a02aa1 Compare March 27, 2026 12:36
@Gui774ume Gui774ume requested review from a team as code owners March 27, 2026 12:36
@Gui774ume Gui774ume requested review from charan-manjunath and nathan-b and removed request for a team March 27, 2026 12:36
@Gui774ume Gui774ume force-pushed the will/serialize-tracermetadata-in-process branch from b7bdb22 to c4b9d82 Compare March 27, 2026 12:38
@Gui774ume Gui774ume changed the title [WP] Serialize tracer metadata struct in process [WP][WIP] Serialize tracer metadata struct in process Mar 27, 2026
@Gui774ume Gui774ume changed the title [WP][WIP] Serialize tracer metadata struct in process [WIP][WP] Serialize tracer metadata struct in process Mar 27, 2026
@Gui774ume Gui774ume force-pushed the will/serialize-tracermetadata-in-process branch from c4b9d82 to 837298a Compare March 27, 2026 12:39
@Gui774ume Gui774ume removed request for a team March 27, 2026 12:39
@Gui774ume Gui774ume requested review from a team and removed request for a team, charan-manjunath and nathan-b March 27, 2026 12:39
@Gui774ume Gui774ume changed the title [WIP][WP] Serialize tracer metadata struct in process [WP] Serialize tracer metadata struct in process Mar 27, 2026
@Gui774ume Gui774ume force-pushed the will/serialize-tracermetadata-in-process branch from 837298a to ff4f74c Compare March 27, 2026 12:41
@Gui774ume Gui774ume requested review from a team and Janaeq and removed request for a team March 27, 2026 12:43
@Gui774ume Gui774ume force-pushed the will/add-missing-tracermetadata-tags branch from 5a02aa1 to ed4e5cf Compare March 27, 2026 12:45
@Gui774ume Gui774ume force-pushed the will/serialize-tracermetadata-in-process branch 2 times, most recently from 8ae0132 to ef90f46 Compare March 27, 2026 12:55
@Gui774ume Gui774ume force-pushed the will/add-missing-tracermetadata-tags branch from ed4e5cf to 13310e3 Compare March 27, 2026 13:07
@Gui774ume Gui774ume force-pushed the will/serialize-tracermetadata-in-process branch from ef90f46 to d3df440 Compare March 27, 2026 13:08
@agent-platform-auto-pr
Copy link
Copy Markdown
Contributor

agent-platform-auto-pr bot commented Mar 27, 2026

Files inventory check summary

File checks results against ancestor 605a1124:

Results for datadog-agent_7.79.0~devel.git.223.7f30aed.pipeline.104786624-1_amd64.deb:

No change detected

@agent-platform-auto-pr
Copy link
Copy Markdown
Contributor

agent-platform-auto-pr bot commented Mar 27, 2026

Static quality checks

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

Successful checks

Info

Quality gate Change Size (prev → curr → max)
agent_deb_amd64 +8.53 KiB (0.00% increase) 752.573 → 752.581 → 753.380
agent_deb_amd64_fips +8.44 KiB (0.00% increase) 709.599 → 709.607 → 713.900
agent_msi +5.0 KiB (0.00% increase) 604.802 → 604.806 → 651.440
agent_rpm_amd64 +8.53 KiB (0.00% increase) 752.557 → 752.565 → 753.350
agent_rpm_amd64_fips +8.44 KiB (0.00% increase) 709.582 → 709.591 → 713.880
agent_rpm_arm64 +8.5 KiB (0.00% increase) 730.998 → 731.006 → 735.290
agent_rpm_arm64_fips +8.44 KiB (0.00% increase) 691.029 → 691.037 → 696.840
agent_suse_amd64 +8.53 KiB (0.00% increase) 752.557 → 752.565 → 753.350
agent_suse_amd64_fips +8.44 KiB (0.00% increase) 709.582 → 709.591 → 713.880
agent_suse_arm64 +8.5 KiB (0.00% increase) 730.998 → 731.006 → 735.290
agent_suse_arm64_fips +8.44 KiB (0.00% increase) 691.029 → 691.037 → 696.840
docker_agent_amd64 +8.53 KiB (0.00% increase) 812.876 → 812.884 → 815.700
docker_agent_arm64 +8.5 KiB (0.00% increase) 816.087 → 816.095 → 821.970
docker_agent_jmx_amd64 +8.52 KiB (0.00% increase) 1003.791 → 1003.799 → 1006.580
docker_agent_jmx_arm64 +8.51 KiB (0.00% increase) 995.781 → 995.790 → 1001.570
16 successful checks with minimal change (< 2 KiB)
Quality gate Current Size
agent_heroku_amd64 313.309 MiB
docker_cluster_agent_amd64 203.942 MiB
docker_cluster_agent_arm64 218.420 MiB
docker_cws_instrumentation_amd64 7.142 MiB
docker_cws_instrumentation_arm64 6.689 MiB
docker_dogstatsd_amd64 39.238 MiB
docker_dogstatsd_arm64 37.445 MiB
dogstatsd_deb_amd64 29.881 MiB
dogstatsd_deb_arm64 28.034 MiB
dogstatsd_rpm_amd64 29.881 MiB
dogstatsd_suse_amd64 29.881 MiB
iot_agent_deb_amd64 43.281 MiB
iot_agent_deb_arm64 40.328 MiB
iot_agent_deb_armhf 41.076 MiB
iot_agent_rpm_amd64 43.282 MiB
iot_agent_suse_amd64 43.282 MiB
On-wire sizes (compressed)
Quality gate Change Size (prev → curr → max)
agent_deb_amd64 +17.55 KiB (0.01% increase) 174.733 → 174.750 → 178.360
agent_deb_amd64_fips -22.74 KiB (0.01% reduction) 165.343 → 165.321 → 172.790
agent_heroku_amd64 neutral 75.006 MiB → 79.970
agent_msi +4.0 KiB (0.00% increase) 138.363 → 138.367 → 146.220
agent_rpm_amd64 -47.43 KiB (0.03% reduction) 177.600 → 177.554 → 181.830
agent_rpm_amd64_fips -33.59 KiB (0.02% reduction) 167.629 → 167.596 → 173.370
agent_rpm_arm64 -8.12 KiB (0.00% reduction) 159.489 → 159.481 → 163.060
agent_rpm_arm64_fips +5.23 KiB (0.00% increase) 151.354 → 151.359 → 156.170
agent_suse_amd64 -47.43 KiB (0.03% reduction) 177.600 → 177.554 → 181.830
agent_suse_amd64_fips -33.59 KiB (0.02% reduction) 167.629 → 167.596 → 173.370
agent_suse_arm64 -8.12 KiB (0.00% reduction) 159.489 → 159.481 → 163.060
agent_suse_arm64_fips +5.23 KiB (0.00% increase) 151.354 → 151.359 → 156.170
docker_agent_amd64 +2.07 KiB (0.00% increase) 268.106 → 268.108 → 272.480
docker_agent_arm64 -3.1 KiB (0.00% reduction) 255.326 → 255.323 → 261.060
docker_agent_jmx_amd64 +2.87 KiB (0.00% increase) 336.754 → 336.756 → 341.100
docker_agent_jmx_arm64 neutral 319.956 MiB → 325.620
docker_cluster_agent_amd64 neutral 71.371 MiB → 72.920
docker_cluster_agent_arm64 neutral 67.013 MiB → 68.220
docker_cws_instrumentation_amd64 neutral 2.999 MiB → 3.330
docker_cws_instrumentation_arm64 neutral 2.729 MiB → 3.090
docker_dogstatsd_amd64 neutral 15.175 MiB → 15.820
docker_dogstatsd_arm64 neutral 14.486 MiB → 14.830
dogstatsd_deb_amd64 neutral 7.894 MiB → 8.790
dogstatsd_deb_arm64 neutral 6.779 MiB → 7.710
dogstatsd_rpm_amd64 -2.34 KiB (0.03% reduction) 7.906 → 7.903 → 8.800
dogstatsd_suse_amd64 -2.34 KiB (0.03% reduction) 7.906 → 7.903 → 8.800
iot_agent_deb_amd64 neutral 11.402 MiB → 12.040
iot_agent_deb_arm64 neutral 9.704 MiB → 10.450
iot_agent_deb_armhf neutral 9.940 MiB → 10.620
iot_agent_rpm_amd64 neutral 11.420 MiB → 12.060
iot_agent_suse_amd64 neutral 11.420 MiB → 12.060

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

cit-pr-commenter-54b7da bot commented Mar 27, 2026

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: 6d2471b5-2031-4d6b-a644-46f26dd91032

Baseline: 605a112
Comparison: 7f30aed
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.92 [-2.06, +3.90] 1 Logs

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
docker_containers_cpu % cpu utilization +0.92 [-2.06, +3.90] 1 Logs
ddot_metrics memory utilization +0.45 [+0.27, +0.62] 1 Logs
ddot_metrics_sum_delta memory utilization +0.21 [+0.05, +0.37] 1 Logs
file_tree memory utilization +0.19 [+0.13, +0.24] 1 Logs
ddot_logs memory utilization +0.17 [+0.11, +0.23] 1 Logs
otlp_ingest_metrics memory utilization +0.11 [-0.05, +0.27] 1 Logs
ddot_metrics_sum_cumulativetodelta_exporter memory utilization +0.08 [-0.14, +0.31] 1 Logs
ddot_metrics_sum_cumulative memory utilization +0.05 [-0.09, +0.19] 1 Logs
uds_dogstatsd_to_api_v3 ingress throughput +0.01 [-0.18, +0.21] 1 Logs
file_to_blackhole_100ms_latency egress throughput +0.01 [-0.08, +0.10] 1 Logs
uds_dogstatsd_to_api ingress throughput -0.01 [-0.20, +0.19] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput -0.01 [-0.11, +0.09] 1 Logs
quality_gate_logs % cpu utilization -0.01 [-1.62, +1.60] 1 Logs bounds checks dashboard
file_to_blackhole_0ms_latency egress throughput -0.02 [-0.51, +0.47] 1 Logs
docker_containers_memory memory utilization -0.03 [-0.13, +0.06] 1 Logs
file_to_blackhole_1000ms_latency egress throughput -0.04 [-0.48, +0.40] 1 Logs
file_to_blackhole_500ms_latency egress throughput -0.06 [-0.45, +0.33] 1 Logs
quality_gate_idle memory utilization -0.15 [-0.20, -0.10] 1 Logs bounds checks dashboard
uds_dogstatsd_20mb_12k_contexts_20_senders memory utilization -0.17 [-0.23, -0.12] 1 Logs
quality_gate_idle_all_features memory utilization -0.18 [-0.22, -0.14] 1 Logs bounds checks dashboard
otlp_ingest_logs memory utilization -0.26 [-0.36, -0.17] 1 Logs
quality_gate_metrics_logs memory utilization -0.30 [-0.53, -0.06] 1 Logs bounds checks dashboard
tcp_syslog_to_blackhole ingress throughput -0.75 [-0.88, -0.62] 1 Logs

Bounds Checks: ❌ Failed

perf experiment bounds_check_name replicates_passed observed_value links
docker_containers_cpu simple_check_run 10/10 691 ≥ 26
docker_containers_memory memory_usage 10/10 272.26MiB ≤ 370MiB
docker_containers_memory simple_check_run 10/10 717 ≥ 26
file_to_blackhole_0ms_latency memory_usage 10/10 0.19GiB ≤ 1.20GiB
file_to_blackhole_0ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_1000ms_latency memory_usage 10/10 0.23GiB ≤ 1.20GiB
file_to_blackhole_1000ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_100ms_latency memory_usage 10/10 0.20GiB ≤ 1.20GiB
file_to_blackhole_100ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_500ms_latency memory_usage 10/10 0.21GiB ≤ 1.20GiB
file_to_blackhole_500ms_latency missed_bytes 10/10 0B = 0B
quality_gate_idle intake_connections 10/10 3 = 3 bounds checks dashboard
quality_gate_idle memory_usage 9/10 175.91MiB > 175MiB bounds checks dashboard
quality_gate_idle_all_features intake_connections 10/10 3 = 3 bounds checks dashboard
quality_gate_idle_all_features memory_usage 10/10 497.69MiB ≤ 550MiB bounds checks dashboard
quality_gate_logs intake_connections 10/10 4 ≤ 6 bounds checks dashboard
quality_gate_logs memory_usage 10/10 205.68MiB ≤ 220MiB bounds checks dashboard
quality_gate_logs missed_bytes 10/10 0B = 0B bounds checks dashboard
quality_gate_metrics_logs cpu_usage 10/10 351.81 ≤ 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 400.48MiB ≤ 475MiB 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

Failed. Some Quality Gates were violated.

  • quality_gate_idle_all_features, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, 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 memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check missed_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check missed_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check memory_usage: 9/10 replicas passed. Failed 1 which is > 0. Gate FAILED.
  • quality_gate_idle, bounds check intake_connections: 10/10 replicas passed. Gate passed.

@Janaeq Janaeq removed their request for review March 27, 2026 14:17
@Gui774ume Gui774ume force-pushed the will/add-missing-tracermetadata-tags branch from 13310e3 to a3b1833 Compare March 27, 2026 15:18
@Gui774ume Gui774ume force-pushed the will/serialize-tracermetadata-in-process branch from d3df440 to 7f30aed Compare March 27, 2026 15:19
Base automatically changed from will/add-missing-tracermetadata-tags to main March 28, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog No changelog entry needed component/system-probe long review PR is complex, plan time to review it qa/done QA done before merge and regressions are covered by tests team/agent-security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant