[Orchestrator] update code structure#23823
Conversation
Go Package Import DifferencesBaseline: 75a3f61
|
Bloop Bleep... Dogbot HereRegression Detector ResultsRun ID: 3fc3594c-c28a-48cf-b3f0-15fced2c6c55 Performance changes are noted in the perf column of each table:
No significant changes in experiment optimization goalsConfidence level: 90.00% There were no significant changes in experiment optimization goals at this confidence level and effect size tolerance.
|
| perf | experiment | goal | Δ mean % | Δ mean % CI |
|---|---|---|---|---|
| ➖ | file_to_blackhole | % cpu utilization | +0.55 | [-5.79, +6.90] |
Fine details of change detection per experiment
| perf | experiment | goal | Δ mean % | Δ mean % CI |
|---|---|---|---|---|
| ➖ | otel_to_otel_logs | ingress throughput | +1.86 | [+1.20, +2.51] |
| ➖ | uds_dogstatsd_to_api_cpu | % cpu utilization | +1.44 | [-1.31, +4.18] |
| ➖ | basic_py_check | % cpu utilization | +1.20 | [-1.23, +3.64] |
| ➖ | file_to_blackhole | % cpu utilization | +0.55 | [-5.79, +6.90] |
| ➖ | tcp_dd_logs_filter_exclude | ingress throughput | +0.03 | [-0.03, +0.09] |
| ➖ | trace_agent_msgpack | ingress throughput | +0.00 | [-0.00, +0.01] |
| ➖ | uds_dogstatsd_to_api | ingress throughput | +0.00 | [-0.06, +0.06] |
| ➖ | trace_agent_json | ingress throughput | +0.00 | [-0.01, +0.01] |
| ➖ | process_agent_standard_check | memory utilization | -0.32 | [-0.35, -0.28] |
| ➖ | pycheck_1000_100byte_tags | % cpu utilization | -0.41 | [-5.37, +4.55] |
| ➖ | idle | memory utilization | -0.43 | [-0.46, -0.39] |
| ➖ | process_agent_real_time_mode | memory utilization | -0.50 | [-0.54, -0.47] |
| ➖ | file_tree | memory utilization | -0.75 | [-0.84, -0.67] |
| ➖ | process_agent_standard_check_with_stats | memory utilization | -0.81 | [-0.84, -0.78] |
| ➖ | tcp_syslog_to_blackhole | ingress throughput | -0.90 | [-0.98, -0.82] |
Explanation
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".
fisherevans
left a comment
There was a problem hiding this comment.
looks cleaner. only concern is this pattern:
func (h *StatefulSetHandlers) BuildMessageBody(ctx processors.ProcessorContext, resourceModels []interface{}, groupSize int) model.MessageBody {
pctx := ctx.(*processors.K8sProcessorContext)
this conversion would panic if someone wired up the dependencies wrong - ideally we'd use either generics or at least type checking to confirm the type. But this is a pattern used elsewhere, so not a blocker for me.
e9f189e to
52fb6a1
Compare
|
Sorry about the noise. I rebased my branch and it triggered review requests automatically |
Test changes on VMUse this command from test-infra-definitions to manually test this PR changes on a VM: inv create-vm --pipeline-id=30348729 --os-family=ubuntu |
Regression DetectorRegression Detector ResultsRun ID: e6efea28-29c6-49b2-8a80-bb3828c5e7da Performance changes are noted in the perf column of each table:
No significant changes in experiment optimization goalsConfidence level: 90.00% There were no significant changes in experiment optimization goals at this confidence level and effect size tolerance.
|
| perf | experiment | goal | Δ mean % | Δ mean % CI |
|---|---|---|---|---|
| ➖ | file_to_blackhole | % cpu utilization | +1.87 | [-4.56, +8.30] |
Fine details of change detection per experiment
| perf | experiment | goal | Δ mean % | Δ mean % CI |
|---|---|---|---|---|
| ➖ | file_to_blackhole | % cpu utilization | +1.87 | [-4.56, +8.30] |
| ➖ | process_agent_standard_check | memory utilization | +0.37 | [+0.34, +0.40] |
| ➖ | idle | memory utilization | +0.29 | [+0.26, +0.32] |
| ➖ | process_agent_real_time_mode | memory utilization | +0.18 | [+0.15, +0.21] |
| ➖ | process_agent_standard_check_with_stats | memory utilization | +0.05 | [+0.02, +0.09] |
| ➖ | uds_dogstatsd_to_api_cpu | % cpu utilization | +0.03 | [-2.72, +2.78] |
| ➖ | trace_agent_json | ingress throughput | +0.01 | [-0.03, +0.05] |
| ➖ | uds_dogstatsd_to_api | ingress throughput | +0.00 | [-0.20, +0.21] |
| ➖ | tcp_dd_logs_filter_exclude | ingress throughput | -0.00 | [-0.03, +0.02] |
| ➖ | trace_agent_msgpack | ingress throughput | -0.02 | [-0.03, -0.01] |
| ➖ | otel_to_otel_logs | ingress throughput | -0.05 | [-0.48, +0.39] |
| ➖ | file_tree | memory utilization | -0.17 | [-0.26, -0.08] |
| ➖ | tcp_syslog_to_blackhole | ingress throughput | -0.42 | [-0.50, -0.33] |
| ➖ | pycheck_1000_100byte_tags | % cpu utilization | -0.55 | [-5.44, +4.34] |
| ➖ | basic_py_check | % cpu utilization | -1.43 | [-3.94, +1.08] |
Explanation
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".
|
/merge |
|
🚂 MergeQueue Pull request added to the queue. There are 2 builds ahead! (estimated merge in less than 28m) Use |
What does this PR do?
Update code structure for orchestrator check, this PR is required by #22060
Motivation
Additional Notes
Possible Drawbacks / Trade-offs
Describe how to test/QA your changes