dyninst/procmon: add a package to monitor processes
What does this PR do?
This type exports two functions which align with the callbacks to be set up with the process.Subscriber 0.
https://datadoghq.atlassian.net/browse/DEBUG-4107
Regression Detector
Regression Detector Results
Metrics dashboard
Target profiles
Run ID: ebb4e6d0-a931-4c20-b6a4-b8f031e64668
Baseline: 6a5104c7dc96ca0fd99986933a00d683f4548d92 Comparison: ceec494abb05ff1c95e3b5f7cdf38c8621549037 Diff
Optimization Goals: ✅ No significant changes detected
Fine details of change detection per experiment
| perf | experiment | goal | Δ mean % | Δ mean % CI | trials | links |
|---|---|---|---|---|---|---|
| ➖ | file_tree | memory utilization | +1.18 | [+1.02, +1.34] | 1 | Logs |
| ➖ | uds_dogstatsd_to_api_cpu | % cpu utilization | +1.13 | [+0.27, +1.98] | 1 | Logs |
| ➖ | tcp_syslog_to_blackhole | ingress throughput | +0.70 | [+0.65, +0.75] | 1 | Logs |
| ➖ | quality_gate_logs | % cpu utilization | +0.37 | [-2.38, +3.12] | 1 | Logs bounds checks dashboard |
| ➖ | docker_containers_cpu | % cpu utilization | +0.24 | [-2.87, +3.35] | 1 | Logs |
| ➖ | ddot_logs | memory utilization | +0.15 | [+0.06, +0.25] | 1 | Logs |
| ➖ | otlp_ingest_metrics | memory utilization | +0.12 | [-0.04, +0.28] | 1 | Logs |
| ➖ | file_to_blackhole_0ms_latency_http2 | egress throughput | +0.11 | [-0.47, +0.68] | 1 | Logs |
| ➖ | file_to_blackhole_500ms_latency | egress throughput | +0.10 | [-0.54, +0.73] | 1 | Logs |
| ➖ | file_to_blackhole_100ms_latency | egress throughput | +0.04 | [-0.55, +0.63] | 1 | Logs |
| ➖ | file_to_blackhole_0ms_latency | egress throughput | +0.04 | [-0.55, +0.63] | 1 | Logs |
| ➖ | file_to_blackhole_0ms_latency_http1 | egress throughput | +0.02 | [-0.58, +0.62] | 1 | Logs |
| ➖ | file_to_blackhole_1000ms_latency | egress throughput | +0.01 | [-0.59, +0.60] | 1 | Logs |
| ➖ | file_to_blackhole_1000ms_latency_linear_load | egress throughput | +0.01 | [-0.23, +0.24] | 1 | Logs |
| ➖ | tcp_dd_logs_filter_exclude | ingress throughput | +0.00 | [-0.02, +0.02] | 1 | Logs |
| ➖ | uds_dogstatsd_to_api | ingress throughput | -0.01 | [-0.25, +0.24] | 1 | Logs |
| ➖ | quality_gate_idle | memory utilization | -0.04 | [-0.12, +0.05] | 1 | Logs bounds checks dashboard |
| ➖ | file_to_blackhole_300ms_latency | egress throughput | -0.04 | [-0.65, +0.57] | 1 | Logs |
| ➖ | uds_dogstatsd_20mb_12k_contexts_20_senders | memory utilization | -0.25 | [-0.30, -0.21] | 1 | Logs |
| ➖ | ddot_metrics | memory utilization | -0.33 | [-0.45, -0.21] | 1 | Logs |
| ➖ | otlp_ingest_logs | memory utilization | -0.33 | [-0.46, -0.20] | 1 | Logs |
| ➖ | docker_containers_memory | memory utilization | -0.33 | [-0.41, -0.25] | 1 | Logs |
| ➖ | quality_gate_idle_all_features | memory utilization | -0.64 | [-0.72, -0.56] | 1 | Logs bounds checks dashboard |
Bounds Checks: ✅ Passed
| perf | experiment | bounds_check_name | replicates_passed | links |
|---|---|---|---|---|
| ✅ | docker_containers_cpu | simple_check_run | 10/10 | |
| ✅ | docker_containers_memory | memory_usage | 10/10 | |
| ✅ | docker_containers_memory | simple_check_run | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency_http1 | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency_http1 | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency_http2 | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_0ms_latency_http2 | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_1000ms_latency | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_1000ms_latency_linear_load | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_100ms_latency | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_100ms_latency | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_300ms_latency | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_300ms_latency | memory_usage | 10/10 | |
| ✅ | file_to_blackhole_500ms_latency | lost_bytes | 10/10 | |
| ✅ | file_to_blackhole_500ms_latency | memory_usage | 10/10 | |
| ✅ | quality_gate_idle | intake_connections | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_idle | memory_usage | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_idle_all_features | intake_connections | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_idle_all_features | memory_usage | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_logs | intake_connections | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_logs | lost_bytes | 10/10 | bounds checks dashboard |
| ✅ | quality_gate_logs | memory_usage | 10/10 | 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:
-
Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.
-
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.
-
Its configuration does not mark it "erratic".
CI Pass/Fail Decision
✅ Passed. All Quality Gates passed.
- 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_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.
- quality_gate_idle, bounds check intake_connections: 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.
- quality_gate_logs, bounds check lost_bytes: 10/10 replicas passed. Gate passed.
Static quality checks
✅ Please find below the results from static quality gates Comparison made with ancestor 6a5104c7dc96ca0fd99986933a00d683f4548d92
Successful checks
Info
| Quality gate | Delta | On disk size (MiB) | Delta | On wire size (MiB) | |
|---|---|---|---|---|---|
| ✅ | agent_deb_amd64 | $${+0.34}$$ | $${697.28}$$ < $${697.37}$$ | $${-0.09}$$ | $${176.14}$$ < $${177.03}$$ |
| ✅ | agent_deb_amd64_fips | $${+0.34}$$ | $${695.55}$$ < $${695.59}$$ | $${-0.05}$$ | $${175.56}$$ < $${176.51}$$ |
| ✅ | agent_heroku_amd64 | $${+0.34}$$ | $${349.06}$$ < $${359.67}$$ | $${-0.06}$$ | $${93.64}$$ < $${97.47}$$ |
| ✅ | agent_msi | $${+0.35}$$ | $${959.08}$$ < $${959.86}$$ | $${-0.09}$$ | $${146.22}$$ < $${147.27}$$ |
| ✅ | agent_rpm_amd64 | $${+0.34}$$ | $${697.27}$$ < $${697.36}$$ | $${-0.16}$$ | $${177.67}$$ < $${178.56}$$ |
| ✅ | agent_rpm_amd64_fips | $${+0.34}$$ | $${695.54}$$ < $${695.58}$$ | $${-0.05}$$ | $${177.58}$$ < $${178.43}$$ |
| ✅ | agent_rpm_arm64 | $${+0.35}$$ | $${687.29}$$ < $${687.37}$$ | $${-0.12}$$ | $${161.18}$$ < $${161.99}$$ |
| ✅ | agent_rpm_arm64_fips | $${+0.35}$$ | $${685.68}$$ < $${685.72}$$ | $${-0.08}$$ | $${160.28}$$ < $${161.11}$$ |
| ✅ | agent_suse_amd64 | $${+0.34}$$ | $${697.27}$$ < $${697.36}$$ | $${-0.16}$$ | $${177.67}$$ < $${178.56}$$ |
| ✅ | agent_suse_amd64_fips | $${+0.34}$$ | $${695.54}$$ < $${695.58}$$ | $${-0.05}$$ | $${177.58}$$ < $${178.43}$$ |
| ✅ | agent_suse_arm64 | $${+0.35}$$ | $${687.29}$$ < $${687.37}$$ | $${-0.12}$$ | $${161.18}$$ < $${161.99}$$ |
| ✅ | agent_suse_arm64_fips | $${+0.35}$$ | $${685.68}$$ < $${685.72}$$ | $${-0.08}$$ | $${160.28}$$ < $${161.11}$$ |
| ✅ | docker_agent_amd64 | $${+0.34}$$ | $${781.09}$$ < $${781.16}$$ | $${-0.08}$$ | $${268.84}$$ < $${269.63}$$ |
| ✅ | docker_agent_arm64 | $${+0.35}$$ | $${794.55}$$ < $${794.62}$$ | $${-0.09}$$ | $${256.17}$$ < $${257.0}$$ |
| ✅ | docker_agent_jmx_amd64 | $${+0.34}$$ | $${972.28}$$ < $${972.35}$$ | $${-0.09}$$ | $${337.81}$$ < $${338.6}$$ |
| ✅ | docker_agent_jmx_arm64 | $${+0.35}$$ | $${974.34}$$ < $${974.41}$$ | $${-0.08}$$ | $${321.14}$$ < $${321.97}$$ |
| ✅ | docker_agent_windows1809 | $${+0.35}$$ | $${1180.63}$$ < $${1185.29}$$ | $${-0.08}$$ | $${416.12}$$ < $${420.95}$$ |
| ✅ | docker_agent_windows1809_core | $${+0.35}$$ | $${5910.58}$$ < $${5915.25}$$ | $${0}$$ | $${2048.0}$$ < $${2049.0}$$ |
| ✅ | docker_agent_windows1809_core_jmx | $${+0.11}$$ | $${6031.92}$$ < $${6059.4}$$ | $${0}$$ | $${2048.0}$$ < $${2049.0}$$ |
| ✅ | docker_agent_windows1809_jmx | $${+0.35}$$ | $${1302.26}$$ < $${1306.92}$$ | $${-0.09}$$ | $${458.41}$$ < $${463.21}$$ |
| ✅ | docker_agent_windows2022 | $${-0.02}$$ | $${1199.73}$$ < $${1204.42}$$ | $${-0.04}$$ | $${428.91}$$ < $${433.71}$$ |
| ✅ | docker_agent_windows2022_core | $${+0.36}$$ | $${5883.88}$$ < $${5888.56}$$ | $${0}$$ | $${2048.0}$$ < $${2049.0}$$ |
| ✅ | docker_agent_windows2022_core_jmx | $${-0.05}$$ | $${6005.12}$$ < $${6009.95}$$ | $${0}$$ | $${2048.0}$$ < $${2049.0}$$ |
| ✅ | docker_agent_windows2022_jmx | $${+0.29}$$ | $${1321.66}$$ < $${1326.13}$$ | $${-0.05}$$ | $${471.19}$$ < $${475.99}$$ |
| ✅ | docker_cluster_agent_amd64 | $${-0}$$ | $${212.9}$$ < $${213.79}$$ | $${-0}$$ | $${72.41}$$ < $${73.33}$$ |
| ✅ | docker_cluster_agent_arm64 | $${-0}$$ | $${228.76}$$ < $${229.64}$$ | $${+0}$$ | $${68.68}$$ < $${69.6}$$ |
| ✅ | docker_cws_instrumentation_amd64 | $${0}$$ | $${7.08}$$ < $${7.12}$$ | $${-0}$$ | $${2.95}$$ < $${3.29}$$ |
| ✅ | docker_cws_instrumentation_arm64 | $${0}$$ | $${6.69}$$ < $${6.92}$$ | $${+0}$$ | $${2.7}$$ < $${3.07}$$ |
| ✅ | docker_dogstatsd_amd64 | $${0}$$ | $${39.23}$$ < $${39.57}$$ | $${+0}$$ | $${15.12}$$ < $${15.76}$$ |
| ✅ | docker_dogstatsd_arm64 | $${+0}$$ | $${37.88}$$ < $${38.2}$$ | $${+0}$$ | $${14.53}$$ < $${14.83}$$ |
| ✅ | dogstatsd_deb_amd64 | $${0}$$ | $${30.46}$$ < $${31.4}$$ | $${-0}$$ | $${8.0}$$ < $${8.95}$$ |
| ✅ | dogstatsd_deb_arm64 | $${0}$$ | $${29.03}$$ < $${29.97}$$ | $${-0}$$ | $${6.94}$$ < $${7.89}$$ |
| ✅ | dogstatsd_rpm_amd64 | $${0}$$ | $${30.46}$$ < $${31.4}$$ | $${+0}$$ | $${8.01}$$ < $${8.96}$$ |
| ✅ | dogstatsd_suse_amd64 | $${0}$$ | $${30.46}$$ < $${31.4}$$ | $${+0}$$ | $${8.01}$$ < $${8.96}$$ |
| ✅ | iot_agent_deb_amd64 | $${0}$$ | $${50.48}$$ < $${51.38}$$ | $${+0}$$ | $${12.85}$$ < $${13.79}$$ |
| ✅ | iot_agent_deb_arm64 | $${0}$$ | $${47.95}$$ < $${48.85}$$ | $${+0}$$ | $${11.15}$$ < $${12.09}$$ |
| ✅ | iot_agent_deb_armhf | $${0}$$ | $${47.52}$$ < $${48.42}$$ | $${+0}$$ | $${11.21}$$ < $${12.16}$$ |
| ✅ | iot_agent_rpm_amd64 | $${0}$$ | $${50.48}$$ < $${51.38}$$ | $${+0}$$ | $${12.87}$$ < $${13.81}$$ |
| ✅ | iot_agent_rpm_arm64 | $${0}$$ | $${47.95}$$ < $${48.85}$$ | $${-0}$$ | $${11.17}$$ < $${12.11}$$ |
| ✅ | iot_agent_suse_amd64 | $${0}$$ | $${50.48}$$ < $${51.38}$$ | $${+0}$$ | $${12.87}$$ < $${13.81}$$ |
/merge
View all feedbacks in Devflow UI.
2025-06-27 17:21:19 UTC :information_source: Start processing command /merge
2025-06-27 17:21:32 UTC :information_source: MergeQueue: pull request added to the queue
The expected merge time in main is approximately 60m (p90).
2025-06-27 18:03:32 UTC :information_source: MergeQueue: This merge request was merged