Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "[ASCII-2562] Migrate forward eventplatform component to the latest file structure" #31563

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

GustavoCaso
Copy link
Member

@GustavoCaso GustavoCaso commented Nov 28, 2024

Reverts #31471

In the previous PR, the noop eventforwarder is not fully a noop and was found on one of the test for integrations core https://github.com/DataDog/integrations-core/actions/runs/12062846875/job/33645986581

Since there are a few subtle issues that we need to fix before having different implementations for eventplatform, I decided to revert the changes and unblock the integrations core pipeline

@GustavoCaso GustavoCaso requested review from a team as code owners November 28, 2024 12:08
@github-actions github-actions bot added team/agent-metrics-logs long review PR is complex, plan time to review it labels Nov 28, 2024
@GustavoCaso GustavoCaso added changelog/no-changelog qa/done QA done before merge and regressions are covered by tests and removed team/agent-metrics-logs labels Nov 28, 2024
Copy link

Go Package Import Differences

Baseline: 3ac8f8c
Comparison: 4f1ec16

binaryosarchchange
agentlinuxamd64
+2, -6
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/mock
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
agentlinuxarm64
+2, -6
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/mock
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
agentwindowsamd64
+2, -6
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/mock
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
agentdarwinamd64
+2, -6
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/mock
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
agentdarwinarm64
+2, -6
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/mock
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
iot-agentlinuxamd64
+2, -6
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/mock
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
iot-agentlinuxarm64
+2, -6
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/mock
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
heroku-agentlinuxamd64
+2, -6
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/mock
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
cluster-agentlinuxamd64
+2, -4
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
cluster-agentlinuxarm64
+2, -4
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
cluster-agent-cloudfoundrylinuxamd64
+3, -4
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/golang/mock/gomock
cluster-agent-cloudfoundrylinuxarm64
+3, -4
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/golang/mock/gomock
dogstatsdlinuxamd64
+10, -3
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/DataDog/datadog-agent/pkg/logs/auditor
+github.com/DataDog/datadog-agent/pkg/logs/client
+github.com/DataDog/datadog-agent/pkg/logs/client/http
+github.com/DataDog/datadog-agent/pkg/logs/sender
+github.com/DataDog/datadog-agent/pkg/util/startstop
+github.com/golang/mock/gomock
+net/http/httptest
+net/http/internal/testcert
dogstatsdlinuxarm64
+10, -3
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl-noop
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/DataDog/datadog-agent/pkg/logs/auditor
+github.com/DataDog/datadog-agent/pkg/logs/client
+github.com/DataDog/datadog-agent/pkg/logs/client/http
+github.com/DataDog/datadog-agent/pkg/logs/sender
+github.com/DataDog/datadog-agent/pkg/util/startstop
+github.com/golang/mock/gomock
+net/http/httptest
+net/http/internal/testcert
process-agentlinuxamd64
+3, -3
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/golang/mock/gomock
process-agentlinuxarm64
+3, -3
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/golang/mock/gomock
process-agentwindowsamd64
+3, -3
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/golang/mock/gomock
process-agentdarwinamd64
+3, -3
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/golang/mock/gomock
process-agentdarwinarm64
+3, -3
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/golang/mock/gomock
heroku-process-agentlinuxamd64
+3, -3
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/golang/mock/gomock
security-agentlinuxamd64
+9, -2
+github.com/DataDog/agent-payload/v5/contimage
+github.com/DataDog/agent-payload/v5/contlcycle
+github.com/DataDog/agent-payload/v5/cyclonedx_v1_4
+github.com/DataDog/agent-payload/v5/sbom
+github.com/DataDog/datadog-agent/comp/api/api/utils
+github.com/DataDog/datadog-agent/comp/api/api/utils/stream
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatformreceiver/eventplatformreceiverimpl
security-agentlinuxarm64
+9, -2
+github.com/DataDog/agent-payload/v5/contimage
+github.com/DataDog/agent-payload/v5/contlcycle
+github.com/DataDog/agent-payload/v5/cyclonedx_v1_4
+github.com/DataDog/agent-payload/v5/sbom
+github.com/DataDog/datadog-agent/comp/api/api/utils
+github.com/DataDog/datadog-agent/comp/api/api/utils/stream
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatformreceiver/eventplatformreceiverimpl
security-agentwindowsamd64
+9, -2
+github.com/DataDog/agent-payload/v5/contimage
+github.com/DataDog/agent-payload/v5/contlcycle
+github.com/DataDog/agent-payload/v5/cyclonedx_v1_4
+github.com/DataDog/agent-payload/v5/sbom
+github.com/DataDog/datadog-agent/comp/api/api/utils
+github.com/DataDog/datadog-agent/comp/api/api/utils/stream
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/impl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatformreceiver/eventplatformreceiverimpl
serverlesslinuxamd64
+1, -1
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
serverlesslinuxarm64
+1, -1
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
system-probelinuxamd64
+1, -1
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform
system-probelinuxarm64
+1, -1
-github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def
+github.com/DataDog/datadog-agent/comp/forwarder/eventplatform

Copy link
Contributor

Serverless Benchmark Results

BenchmarkStartEndInvocation comparison between 3ac8f8c and 96820a4.

tl;dr

Use these benchmarks as an insight tool during development.

  1. Skim down the vs base column in each chart. If there is a ~, then there was no statistically significant change to the benchmark. Otherwise, ensure the estimated percent change is either negative or very small.

  2. The last row of each chart is the geomean. Ensure this percentage is either negative or very small.

What is this benchmarking?

The BenchmarkStartEndInvocation compares the amount of time it takes to call the start-invocation and end-invocation endpoints. For universal instrumentation languages (Dotnet, Golang, Java, Ruby), this represents the majority of the duration overhead added by our tracing layer.

The benchmark is run using a large variety of lambda request payloads. In the charts below, there is one row for each event payload type.

How do I interpret these charts?

The charts below comes from benchstat. They represent the statistical change in duration (sec/op), memory overhead (B/op), and allocations (allocs/op).

The benchstat docs explain how to interpret these charts.

Before the comparison table, we see common file-level configuration. If there are benchmarks with different configuration (for example, from different packages), benchstat will print separate tables for each configuration.

The table then compares the two input files for each benchmark. It shows the median and 95% confidence interval summaries for each benchmark before and after the change, and an A/B comparison under "vs base". ... The p-value measures how likely it is that any differences were due to random chance (i.e., noise). The "~" means benchstat did not detect a statistically significant difference between the two inputs. ...

Note that "statistically significant" is not the same as "large": with enough low-noise data, even very small changes can be distinguished from noise and considered statistically significant. It is, of course, generally easier to distinguish large changes from noise.

Finally, the last row of the table shows the geometric mean of each column, giving an overall picture of how the benchmarks changed. Proportional changes in the geomean reflect proportional changes in the benchmarks. For example, given n benchmarks, if sec/op for one of them increases by a factor of 2, then the sec/op geomean will increase by a factor of ⁿ√2.

I need more help

First off, do not worry if the benchmarks are failing. They are not tests. The intention is for them to be a tool for you to use during development.

If you would like a hand interpreting the results come chat with us in #serverless-agent in the internal DataDog slack or in #serverless in the public DataDog slack. We're happy to help!

Benchmark stats
goos: linux
goarch: amd64
pkg: github.com/DataDog/datadog-agent/pkg/serverless/daemon
cpu: AMD EPYC 7763 64-Core Processor                
                                      │ baseline/benchmark.log │        current/benchmark.log        │
                                      │         sec/op         │    sec/op     vs base               │
api-gateway-appsec.json                            83.06µ ± 4%    88.09µ ± 4%  +6.06% (p=0.000 n=10)
api-gateway-kong-appsec.json                       64.10µ ± 2%    68.89µ ± 2%  +7.48% (p=0.000 n=10)
api-gateway-kong.json                              61.05µ ± 2%    67.03µ ± 1%  +9.80% (p=0.000 n=10)
api-gateway-non-proxy-async.json                   98.99µ ± 2%   104.65µ ± 1%  +5.72% (p=0.000 n=10)
api-gateway-non-proxy.json                         97.75µ ± 2%   102.78µ ± 3%  +5.15% (p=0.000 n=10)
api-gateway-websocket-connect.json                 63.88µ ± 1%    67.32µ ± 5%  +5.39% (p=0.000 n=10)
api-gateway-websocket-default.json                 56.47µ ± 1%    59.20µ ± 2%  +4.83% (p=0.000 n=10)
api-gateway-websocket-disconnect.json              56.22µ ± 1%    58.26µ ± 2%  +3.64% (p=0.000 n=10)
api-gateway.json                                   105.9µ ± 1%    111.3µ ± 5%  +5.09% (p=0.003 n=10)
application-load-balancer.json                     58.96µ ± 3%    60.59µ ± 0%  +2.76% (p=0.000 n=10)
cloudfront.json                                    43.72µ ± 1%    45.20µ ± 2%  +3.38% (p=0.002 n=10)
cloudwatch-events.json                             36.65µ ± 2%    37.04µ ± 3%       ~ (p=0.190 n=10)
cloudwatch-logs.json                               58.51µ ± 2%    61.30µ ± 2%  +4.77% (p=0.000 n=10)
custom.json                                        29.42µ ± 1%    30.20µ ± 2%  +2.64% (p=0.004 n=10)
dynamodb.json                                      86.37µ ± 2%    86.55µ ± 1%       ~ (p=0.796 n=10)
empty.json                                         27.62µ ± 1%    28.69µ ± 2%  +3.87% (p=0.000 n=10)
eventbridge-custom.json                            43.92µ ± 2%    46.28µ ± 3%  +5.37% (p=0.000 n=10)
eventbridge-no-bus.json                            42.79µ ± 1%    44.18µ ± 2%  +3.24% (p=0.001 n=10)
eventbridge-no-timestamp.json                      42.98µ ± 1%    44.08µ ± 2%  +2.56% (p=0.000 n=10)
eventbridgesns.json                                57.99µ ± 2%    60.40µ ± 2%  +4.15% (p=0.000 n=10)
eventbridgesqs.json                                65.47µ ± 1%    68.24µ ± 1%  +4.24% (p=0.000 n=10)
http-api.json                                      66.59µ ± 1%    68.81µ ± 1%  +3.33% (p=0.000 n=10)
kinesis-batch.json                                 65.04µ ± 2%    66.87µ ± 1%  +2.83% (p=0.002 n=10)
kinesis.json                                       50.15µ ± 1%    51.53µ ± 2%  +2.74% (p=0.000 n=10)
s3.json                                            54.64µ ± 2%    56.66µ ± 1%  +3.70% (p=0.000 n=10)
sns-batch.json                                     84.63µ ± 2%    87.54µ ± 1%  +3.43% (p=0.000 n=10)
sns.json                                           62.26µ ± 1%    64.42µ ± 1%  +3.46% (p=0.000 n=10)
snssqs.json                                        107.4µ ± 1%    112.4µ ± 1%  +4.63% (p=0.000 n=10)
snssqs_no_dd_context.json                          96.22µ ± 1%    99.75µ ± 1%  +3.67% (p=0.000 n=10)
sqs-aws-header.json                                54.68µ ± 2%    54.50µ ± 1%       ~ (p=0.739 n=10)
sqs-batch.json                                     87.43µ ± 2%    89.32µ ± 1%  +2.17% (p=0.009 n=10)
sqs.json                                           66.05µ ± 1%    66.94µ ± 1%  +1.35% (p=0.011 n=10)
sqs_no_dd_context.json                             61.28µ ± 2%    61.57µ ± 2%       ~ (p=1.000 n=10)
stepfunction.json                                  41.13µ ± 3%    42.94µ ± 3%  +4.39% (p=0.002 n=10)
geomean                                            60.65µ         62.91µ       +3.72%

                                      │ baseline/benchmark.log │        current/benchmark.log        │
                                      │          B/op          │     B/op      vs base               │
api-gateway-appsec.json                           37.33Ki ± 0%   37.26Ki ± 0%  -0.17% (p=0.000 n=10)
api-gateway-kong-appsec.json                      26.90Ki ± 0%   26.91Ki ± 0%  +0.01% (p=0.029 n=10)
api-gateway-kong.json                             24.37Ki ± 0%   24.37Ki ± 0%  +0.02% (p=0.040 n=10)
api-gateway-non-proxy-async.json                  47.99Ki ± 0%   47.94Ki ± 0%  -0.11% (p=0.000 n=10)
api-gateway-non-proxy.json                        47.17Ki ± 0%   47.10Ki ± 0%  -0.14% (p=0.000 n=10)
api-gateway-websocket-connect.json                25.37Ki ± 0%   25.34Ki ± 0%  -0.13% (p=0.000 n=10)
api-gateway-websocket-default.json                21.26Ki ± 0%   21.23Ki ± 0%  -0.15% (p=0.000 n=10)
api-gateway-websocket-disconnect.json             21.02Ki ± 0%   20.99Ki ± 0%  -0.16% (p=0.000 n=10)
api-gateway.json                                  49.27Ki ± 0%   49.26Ki ± 0%  -0.01% (p=0.011 n=10)
application-load-balancer.json                    23.06Ki ± 0%   22.12Ki ± 0%  -4.07% (p=0.000 n=10)
cloudfront.json                                   17.45Ki ± 0%   17.43Ki ± 0%  -0.09% (p=0.000 n=10)
cloudwatch-events.json                            11.52Ki ± 0%   11.49Ki ± 0%  -0.27% (p=0.000 n=10)
cloudwatch-logs.json                              53.04Ki ± 0%   53.05Ki ± 0%  +0.00% (p=0.038 n=10)
custom.json                                       9.543Ki ± 0%   9.528Ki ± 0%  -0.15% (p=0.000 n=10)
dynamodb.json                                     40.33Ki ± 0%   40.29Ki ± 0%  -0.08% (p=0.000 n=10)
empty.json                                        9.081Ki ± 0%   9.065Ki ± 0%  -0.17% (p=0.000 n=10)
eventbridge-custom.json                           14.67Ki ± 0%   14.67Ki ± 0%       ~ (p=0.270 n=10)
eventbridge-no-bus.json                           13.63Ki ± 0%   13.63Ki ± 0%       ~ (p=0.076 n=10)
eventbridge-no-timestamp.json                     13.63Ki ± 0%   13.63Ki ± 0%       ~ (p=0.124 n=10)
eventbridgesns.json                               20.46Ki ± 0%   20.43Ki ± 0%  -0.15% (p=0.000 n=10)
eventbridgesqs.json                               24.59Ki ± 0%   24.56Ki ± 0%  -0.12% (p=0.000 n=10)
http-api.json                                     23.31Ki ± 0%   23.25Ki ± 0%  -0.27% (p=0.000 n=10)
kinesis-batch.json                                26.53Ki ± 0%   26.50Ki ± 0%  -0.12% (p=0.000 n=10)
kinesis.json                                      17.40Ki ± 0%   17.37Ki ± 0%  -0.19% (p=0.000 n=10)
s3.json                                           19.90Ki ± 0%   19.87Ki ± 0%  -0.16% (p=0.000 n=10)
sns-batch.json                                    39.07Ki ± 0%   39.07Ki ± 0%       ~ (p=0.493 n=10)
sns.json                                          24.49Ki ± 0%   24.49Ki ± 0%       ~ (p=0.716 n=10)
snssqs.json                                       52.74Ki ± 0%   52.68Ki ± 0%  -0.11% (p=0.000 n=10)
snssqs_no_dd_context.json                         46.49Ki ± 0%   46.44Ki ± 0%  -0.12% (p=0.000 n=10)
sqs-aws-header.json                               18.78Ki ± 0%   18.78Ki ± 0%       ~ (p=0.362 n=10)
sqs-batch.json                                    41.26Ki ± 0%   41.26Ki ± 0%       ~ (p=0.129 n=10)
sqs.json                                          25.39Ki ± 0%   25.39Ki ± 0%       ~ (p=1.000 n=10)
sqs_no_dd_context.json                            21.04Ki ± 0%   21.01Ki ± 0%  -0.15% (p=0.000 n=10)
stepfunction.json                                 13.54Ki ± 0%   13.51Ki ± 0%  -0.23% (p=0.000 n=10)
geomean                                           24.14Ki        24.08Ki       -0.22%

                                      │ baseline/benchmark.log │        current/benchmark.log        │
                                      │       allocs/op        │ allocs/op   vs base                 │
api-gateway-appsec.json                             630.0 ± 0%   630.0 ± 0%       ~ (p=1.000 n=10) ¹
api-gateway-kong-appsec.json                        488.0 ± 0%   488.0 ± 0%       ~ (p=1.000 n=10) ¹
api-gateway-kong.json                               466.0 ± 0%   466.0 ± 0%       ~ (p=1.000 n=10) ¹
api-gateway-non-proxy-async.json                    723.0 ± 0%   723.0 ± 0%       ~ (p=1.000 n=10) ¹
api-gateway-non-proxy.json                          713.0 ± 0%   713.0 ± 0%       ~ (p=1.000 n=10) ¹
api-gateway-websocket-connect.json                  451.0 ± 0%   451.0 ± 0%       ~ (p=1.000 n=10)
api-gateway-websocket-default.json                  376.0 ± 0%   376.0 ± 0%       ~ (p=1.000 n=10) ¹
api-gateway-websocket-disconnect.json               366.0 ± 0%   366.0 ± 0%       ~ (p=1.000 n=10) ¹
api-gateway.json                                    785.0 ± 0%   785.0 ± 0%       ~ (p=1.000 n=10) ¹
application-load-balancer.json                      349.0 ± 0%   348.0 ± 0%  -0.29% (p=0.000 n=10)
cloudfront.json                                     281.0 ± 0%   281.0 ± 0%       ~ (p=1.000 n=10) ¹
cloudwatch-events.json                              218.0 ± 0%   218.0 ± 0%       ~ (p=1.000 n=10) ¹
cloudwatch-logs.json                                211.0 ± 0%   211.0 ± 0%       ~ (p=1.000 n=10) ¹
custom.json                                         166.0 ± 0%   166.0 ± 0%       ~ (p=1.000 n=10) ¹
dynamodb.json                                       582.0 ± 0%   582.0 ± 0%       ~ (p=1.000 n=10) ¹
empty.json                                          157.0 ± 0%   157.0 ± 0%       ~ (p=1.000 n=10) ¹
eventbridge-custom.json                             261.0 ± 0%   261.0 ± 0%       ~ (p=1.000 n=10) ¹
eventbridge-no-bus.json                             252.0 ± 0%   252.0 ± 0%       ~ (p=1.000 n=10) ¹
eventbridge-no-timestamp.json                       252.0 ± 0%   252.0 ± 0%       ~ (p=1.000 n=10) ¹
eventbridgesns.json                                 318.0 ± 0%   318.0 ± 0%       ~ (p=1.000 n=10) ¹
eventbridgesqs.json                                 358.0 ± 0%   358.0 ± 0%       ~ (p=1.000 n=10) ¹
http-api.json                                       424.0 ± 0%   424.0 ± 0%       ~ (p=1.000 n=10) ¹
kinesis-batch.json                                  383.0 ± 0%   383.0 ± 0%       ~ (p=1.000 n=10) ¹
kinesis.json                                        279.0 ± 0%   279.0 ± 0%       ~ (p=1.000 n=10) ¹
s3.json                                             351.0 ± 0%   351.0 ± 0%       ~ (p=1.000 n=10) ¹
sns-batch.json                                      465.0 ± 0%   465.0 ± 0%       ~ (p=1.000 n=10) ¹
sns.json                                            336.0 ± 0%   336.0 ± 0%       ~ (p=1.000 n=10) ¹
snssqs.json                                         460.0 ± 0%   460.0 ± 0%       ~ (p=1.000 n=10) ¹
snssqs_no_dd_context.json                           420.0 ± 0%   420.0 ± 0%       ~ (p=1.000 n=10) ¹
sqs-aws-header.json                                 276.0 ± 0%   276.0 ± 0%       ~ (p=1.000 n=10) ¹
sqs-batch.json                                      500.0 ± 0%   500.0 ± 0%       ~ (p=1.000 n=10) ¹
sqs.json                                            351.0 ± 0%   351.0 ± 0%       ~ (p=1.000 n=10) ¹
sqs_no_dd_context.json                              337.0 ± 0%   337.0 ± 0%       ~ (p=1.000 n=10) ¹
stepfunction.json                                   226.0 ± 0%   226.0 ± 0%       ~ (p=1.000 n=10) ¹
geomean                                             360.0        360.0       -0.01%
¹ all samples are equal

@agent-platform-auto-pr
Copy link
Contributor

Test changes on VM

Use this command from test-infra-definitions to manually test this PR changes on a VM:

inv create-vm --pipeline-id=50102940 --os-family=ubuntu

Note: This applies to commit 4f1ec16

Copy link

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: 7ffdea3c-343f-4865-a121-5eeaaab33765

Baseline: 3ac8f8c
Comparison: 4f1ec16
Diff

Optimization Goals: ✅ No significant changes detected

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
pycheck_lots_of_tags % cpu utilization +1.83 [-1.65, +5.31] 1 Logs
quality_gate_logs % cpu utilization +1.26 [-1.71, +4.23] 1 Logs
quality_gate_idle memory utilization +0.70 [+0.66, +0.75] 1 Logs bounds checks dashboard
uds_dogstatsd_to_api_cpu % cpu utilization +0.33 [-0.39, +1.06] 1 Logs
file_tree memory utilization +0.28 [+0.13, +0.44] 1 Logs
file_to_blackhole_1000ms_latency_linear_load egress throughput +0.14 [-0.31, +0.60] 1 Logs
file_to_blackhole_300ms_latency egress throughput +0.08 [-0.56, +0.71] 1 Logs
file_to_blackhole_500ms_latency egress throughput +0.08 [-0.69, +0.85] 1 Logs
file_to_blackhole_0ms_latency egress throughput +0.01 [-0.82, +0.83] 1 Logs
file_to_blackhole_100ms_latency egress throughput +0.01 [-0.72, +0.73] 1 Logs
uds_dogstatsd_to_api ingress throughput -0.00 [-0.10, +0.10] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput -0.00 [-0.02, +0.01] 1 Logs
file_to_blackhole_1000ms_latency egress throughput -0.02 [-0.79, +0.75] 1 Logs
quality_gate_idle_all_features memory utilization -0.49 [-0.59, -0.39] 1 Logs bounds checks dashboard
otel_to_otel_logs ingress throughput -0.70 [-1.40, -0.01] 1 Logs
basic_py_check % cpu utilization -0.72 [-4.64, +3.20] 1 Logs
tcp_syslog_to_blackhole ingress throughput -1.33 [-1.40, -1.27] 1 Logs

Bounds Checks: ✅ Passed

perf experiment bounds_check_name replicates_passed links
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_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 memory_usage 10/10 bounds checks dashboard
quality_gate_idle_all_features memory_usage 10/10 bounds checks dashboard
quality_gate_logs lost_bytes 10/10
quality_gate_logs memory_usage 10/10

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, 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 memory_usage: 10/10 replicas passed. Gate passed.

Copy link
Member

@davidor davidor left a comment

Choose a reason for hiding this comment

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

👍 for container-platform files

@CelianR CelianR merged commit b80f86c into main Nov 28, 2024
275 of 276 checks passed
@CelianR CelianR deleted the revert-31471-organize-eventplatform-component branch November 28, 2024 13:48
@github-actions github-actions bot added this to the 7.61.0 milestone Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog long review PR is complex, plan time to review it qa/done QA done before merge and regressions are covered by tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants