POC: pod instrumentation tags
What does this PR do?
Agent implementation of POC https://github.com/DataDog/dd-go/pull/189438
Regression Detector
Regression Detector Results
Metrics dashboard
Target profiles
Run ID: 07455851-5fcb-485c-97c2-ebf0e6e7f14b
Baseline: 04b6902f67d6885748345ebf64e9bd3ebc7ab609 Comparison: e1413210b9897afdc3c3493eacf2d834c5ec3eeb 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 | -1.97 | [-5.15, +1.21] | 1 | Logs |
Fine details of change detection per experiment
| perf | experiment | goal | Δ mean % | Δ mean % CI | trials | links |
|---|---|---|---|---|---|---|
| ➖ | uds_dogstatsd_to_api_cpu | % cpu utilization | +1.34 | [+0.44, +2.23] | 1 | Logs |
| ➖ | tcp_syslog_to_blackhole | ingress throughput | +0.75 | [+0.68, +0.81] | 1 | Logs |
| ➖ | docker_containers_memory | memory utilization | +0.52 | [+0.45, +0.59] | 1 | Logs |
| ➖ | otlp_ingest_logs | memory utilization | +0.47 | [+0.34, +0.59] | 1 | Logs |
| ➖ | file_to_blackhole_100ms_latency | egress throughput | +0.09 | [-0.49, +0.68] | 1 | Logs |
| ➖ | uds_dogstatsd_20mb_12k_contexts_20_senders | memory utilization | +0.08 | [+0.04, +0.11] | 1 | Logs |
| ➖ | tcp_dd_logs_filter_exclude | ingress throughput | +0.00 | [-0.01, +0.02] | 1 | Logs |
| ➖ | uds_dogstatsd_to_api | ingress throughput | +0.00 | [-0.27, +0.28] | 1 | Logs |
| ➖ | file_to_blackhole_500ms_latency | egress throughput | -0.02 | [-0.62, +0.59] | 1 | Logs |
| ➖ | otlp_ingest_metrics | memory utilization | -0.02 | [-0.16, +0.12] | 1 | Logs |
| ➖ | file_to_blackhole_1000ms_latency | egress throughput | -0.05 | [-0.60, +0.49] | 1 | Logs |
| ➖ | file_to_blackhole_0ms_latency | egress throughput | -0.05 | [-0.63, +0.52] | 1 | Logs |
| ➖ | ddot_metrics | memory utilization | -0.13 | [-0.25, -0.02] | 1 | Logs |
| ➖ | quality_gate_idle | memory utilization | -0.21 | [-0.28, -0.13] | 1 | Logs bounds checks dashboard |
| ➖ | ddot_logs | memory utilization | -0.23 | [-0.32, -0.14] | 1 | Logs |
| ➖ | file_tree | memory utilization | -0.33 | [-0.37, -0.29] | 1 | Logs |
| ➖ | quality_gate_idle_all_features | memory utilization | -0.46 | [-0.51, -0.40] | 1 | Logs bounds checks dashboard |
| ➖ | quality_gate_logs | % cpu utilization | -0.79 | [-3.54, +1.95] | 1 | Logs bounds checks dashboard |
| ➖ | docker_containers_cpu | % cpu utilization | -1.97 | [-5.15, +1.21] | 1 | Logs |
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_1000ms_latency | 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_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_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
- quality_gate_logs, bounds check lost_bytes: 10/10 replicas passed. Gate passed.
- quality_gate_logs, 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_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.
Static quality checks
✅ Please find below the results from static quality gates Comparison made with ancestor 04b6902f67d6885748345ebf64e9bd3ebc7ab609
Successful checks
Info
| Quality gate | Delta | On disk size (MiB) | Delta | On wire size (MiB) | |
|---|---|---|---|---|---|
| ✅ | agent_deb_amd64 | $${+0.01}$$ | $${703.11}$$ < $${703.45}$$ | $${-0}$$ | $${177.56}$$ < $${178.35}$$ |
| ✅ | agent_deb_amd64_fips | $${+0.01}$$ | $${701.35}$$ < $${701.7}$$ | $${-0.04}$$ | $${176.93}$$ < $${177.76}$$ |
| ✅ | agent_heroku_amd64 | $${0}$$ | $${354.46}$$ < $${355.37}$$ | $${-0.01}$$ | $${94.81}$$ < $${95.72}$$ |
| ✅ | agent_msi | $${+0.04}$$ | $${977.37}$$ < $${978.18}$$ | $${+0.03}$$ | $${148.53}$$ < $${149.26}$$ |
| ✅ | agent_rpm_amd64 | $${+0.01}$$ | $${703.1}$$ < $${703.44}$$ | $${+0.03}$$ | $${179.14}$$ < $${179.87}$$ |
| ✅ | agent_rpm_amd64_fips | $${+0.01}$$ | $${701.34}$$ < $${701.69}$$ | $${-0.02}$$ | $${178.73}$$ < $${179.47}$$ |
| ✅ | agent_rpm_arm64 | $${+0.01}$$ | $${693.05}$$ < $${693.48}$$ | $${-0.05}$$ | $${162.83}$$ < $${163.62}$$ |
| ✅ | agent_rpm_arm64_fips | $${+0.01}$$ | $${691.36}$$ < $${691.79}$$ | $${+0}$$ | $${161.89}$$ < $${162.65}$$ |
| ✅ | agent_suse_amd64 | $${+0.01}$$ | $${703.1}$$ < $${703.44}$$ | $${+0.03}$$ | $${179.14}$$ < $${179.87}$$ |
| ✅ | agent_suse_amd64_fips | $${+0.01}$$ | $${701.34}$$ < $${701.69}$$ | $${-0.02}$$ | $${178.73}$$ < $${179.47}$$ |
| ✅ | agent_suse_arm64 | $${+0.01}$$ | $${693.05}$$ < $${693.48}$$ | $${-0.05}$$ | $${162.83}$$ < $${163.62}$$ |
| ✅ | agent_suse_arm64_fips | $${+0.01}$$ | $${691.36}$$ < $${691.79}$$ | $${+0}$$ | $${161.89}$$ < $${162.65}$$ |
| ✅ | docker_agent_amd64 | $${+0.01}$$ | $${786.86}$$ < $${787.26}$$ | $${-0}$$ | $${270.78}$$ < $${271.51}$$ |
| ✅ | docker_agent_arm64 | $${+0.01}$$ | $${800.32}$$ < $${800.74}$$ | $${-0}$$ | $${258.45}$$ < $${259.24}$$ |
| ✅ | docker_agent_jmx_amd64 | $${+0.01}$$ | $${978.1}$$ < $${978.45}$$ | $${-0.01}$$ | $${339.78}$$ < $${340.47}$$ |
| ✅ | docker_agent_jmx_arm64 | $${+0.01}$$ | $${980.16}$$ < $${980.54}$$ | $${-0.02}$$ | $${323.44}$$ < $${324.2}$$ |
| ✅ | docker_cluster_agent_amd64 | $${+0.01}$$ | $${213.76}$$ < $${214.5}$$ | $${-0}$$ | $${72.66}$$ < $${73.51}$$ |
| ✅ | docker_cluster_agent_arm64 | $${+0}$$ | $${229.62}$$ < $${230.33}$$ | $${-0}$$ | $${68.92}$$ < $${69.77}$$ |
| ✅ | docker_cws_instrumentation_amd64 | $${0}$$ | $${7.07}$$ < $${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.2}$$ < $${39.57}$$ | $${-0}$$ | $${15.11}$$ < $${15.76}$$ |
| ✅ | docker_dogstatsd_arm64 | $${-0}$$ | $${37.86}$$ < $${38.2}$$ | $${-0}$$ | $${14.53}$$ < $${14.83}$$ |
| ✅ | dogstatsd_deb_amd64 | $${0}$$ | $${30.43}$$ < $${31.4}$$ | $${+0}$$ | $${8.0}$$ < $${8.95}$$ |
| ✅ | dogstatsd_deb_arm64 | $${0}$$ | $${29.0}$$ < $${29.97}$$ | $${-0}$$ | $${6.94}$$ < $${7.89}$$ |
| ✅ | dogstatsd_rpm_amd64 | $${0}$$ | $${30.43}$$ < $${31.4}$$ | $${-0}$$ | $${8.01}$$ < $${8.96}$$ |
| ✅ | dogstatsd_suse_amd64 | $${0}$$ | $${30.43}$$ < $${31.4}$$ | $${-0}$$ | $${8.01}$$ < $${8.96}$$ |
| ✅ | iot_agent_deb_amd64 | $${0}$$ | $${53.92}$$ < $${54.55}$$ | $${+0}$$ | $${13.59}$$ < $${14.45}$$ |
| ✅ | iot_agent_deb_arm64 | $${0}$$ | $${51.25}$$ < $${51.9}$$ | $${+0}$$ | $${11.75}$$ < $${12.63}$$ |
| ✅ | iot_agent_deb_armhf | $${0}$$ | $${50.76}$$ < $${51.42}$$ | $${+0.02}$$ | $${11.86}$$ < $${12.74}$$ |
| ✅ | iot_agent_rpm_amd64 | $${0}$$ | $${53.92}$$ < $${54.55}$$ | $${+0}$$ | $${13.61}$$ < $${14.47}$$ |
| ✅ | iot_agent_rpm_arm64 | $${0}$$ | $${51.25}$$ < $${51.91}$$ | $${+0}$$ | $${11.77}$$ < $${12.65}$$ |
| ✅ | iot_agent_suse_amd64 | $${0}$$ | $${53.92}$$ < $${54.55}$$ | $${+0}$$ | $${13.61}$$ < $${14.47}$$ |