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

[ASCII-2016] Copy the config model into a new source folder, envvar to enable it #29528

Merged
merged 11 commits into from
Sep 27, 2024

Conversation

dustmop
Copy link
Contributor

@dustmop dustmop commented Sep 24, 2024

What does this PR do?

Copies the config model into a new source folder, and adds an envvar to enable it.

Motivation

This will allow us to put a new config model into place without disrupting the expected behavior of the existing config.

Describe how to test/QA your changes

No functional changes, behavior is disabled without an envvar. Enabling the envvar is not going to do anything useful yet.

Possible Drawbacks / Trade-offs

Additional Notes

@dustmop dustmop added changelog/no-changelog team/agent-shared-components qa/done Skip QA week as QA was done before merge and regressions are covered by tests labels Sep 24, 2024
Copy link

cit-pr-commenter bot commented Sep 24, 2024

Go Package Import Differences

Baseline: bcd3df0
Comparison: e11169e

binaryosarchchange
agentlinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
agentlinuxarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
agentwindowsamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
agentdarwinamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
agentdarwinarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
iot-agentlinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
iot-agentlinuxarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
heroku-agentlinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
cluster-agentlinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
cluster-agentlinuxarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
cluster-agent-cloudfoundrylinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
cluster-agent-cloudfoundrylinuxarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
dogstatsdlinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
dogstatsdlinuxarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
process-agentlinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
process-agentlinuxarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
process-agentwindowsamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
process-agentdarwinamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
process-agentdarwinarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
heroku-process-agentlinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
security-agentlinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
security-agentlinuxarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
serverlesslinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
serverlesslinuxarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
system-probelinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
system-probelinuxarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
system-probewindowsamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
trace-agentlinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
trace-agentlinuxarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
trace-agentwindowsamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
trace-agentdarwinamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
trace-agentdarwinarm64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig
heroku-trace-agentlinuxamd64
+2, -0
+github.com/DataDog/datadog-agent/pkg/config/nodetreemodel
+github.com/DataDog/datadog-agent/pkg/config/teeconfig

This comment has been minimized.

Copy source files from the viper version of the config to a new directory. This will make it easier to see the diff when implementing the new model.
There is no difference in the new model just yet, but this envvar will let us develop without disrupting the existing config behavior.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@dustmop dustmop marked this pull request as ready for review September 24, 2024 21:01
@dustmop dustmop requested review from a team as code owners September 24, 2024 21:01
Copy link
Contributor

@jszwedko jszwedko left a comment

Choose a reason for hiding this comment

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

Approving files owned by @DataDog/agent-processing-and-routing

This comment has been minimized.

@pr-commenter
Copy link

pr-commenter bot commented Sep 24, 2024

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=45330272 --os-family=ubuntu

Note: This applies to commit e11169e

@pr-commenter
Copy link

pr-commenter bot commented Sep 24, 2024

Regression Detector

Regression Detector Results

Run ID: 681fa970-8812-4c25-8a3f-8aa692756cd0 Metrics dashboard Target profiles

Baseline: bcd3df0
Comparison: e11169e

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

No significant changes in experiment optimization goals

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

There were no significant changes in experiment optimization goals at this confidence level and effect size tolerance.

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
idle memory utilization +1.00 [+0.96, +1.04] 1 Logs
idle_all_features memory utilization +0.95 [+0.89, +1.02] 1 Logs
file_tree memory utilization +0.13 [+0.04, +0.22] 1 Logs
uds_dogstatsd_to_api ingress throughput +0.01 [-0.09, +0.11] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput -0.00 [-0.01, +0.01] 1 Logs
basic_py_check % cpu utilization -0.02 [-2.75, +2.71] 1 Logs
tcp_syslog_to_blackhole ingress throughput -0.23 [-0.28, -0.18] 1 Logs
uds_dogstatsd_to_api_cpu % cpu utilization -0.31 [-1.04, +0.41] 1 Logs
otel_to_otel_logs ingress throughput -0.35 [-1.16, +0.45] 1 Logs
pycheck_lots_of_tags % cpu utilization -1.27 [-3.75, +1.20] 1 Logs

Bounds Checks

perf experiment bounds_check_name replicates_passed
idle memory_usage 10/10

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:

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

Copy link
Member

@chouetz chouetz left a comment

Choose a reason for hiding this comment

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

ok for agent-devxinfra files

@chouetz
Copy link
Member

chouetz commented Sep 25, 2024

⚠️🚨 Warning, this pull request increases the binary size of serverless extension by 127456 bytes. Each MB of binary size increase means about 10ms of additional cold start time, so this pull request would increase cold start time by 1ms.

Debug info

@dustmop so close to 123456 size increase :D

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.

The only changes for container-platform are in some go.mod and go.sum files

Comment on lines 246 to 255
if val, found := os.LookupEnv("DD_CONF_NODETREEMODEL"); found && val == "enable" {
datadog = nodetreemodel.NewConfig("datadog", "DD", strings.NewReplacer(".", "_"))
} else if val, found := os.LookupEnv("DD_CONF_NODETREEMODEL"); found && val == "tee" {
var viperConfig = pkgconfigmodel.NewConfig("datadog", "DD", strings.NewReplacer(".", "_"))
var nodetreeConfig = nodetreemodel.NewConfig("datadog", "DD", strings.NewReplacer(".", "_"))
datadog = teeconfig.NewTeeConfig(viperConfig, nodetreeConfig)
} else {
datadog = pkgconfigmodel.NewConfig("datadog", "DD", strings.NewReplacer(".", "_"))
}

Copy link
Member

Choose a reason for hiding this comment

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

Nitpick: We could simplify this block to only look for the DD_CONF_NODETREEMODEL just once 😄

val, found := os.LookupEnv("DD_CONF_NODETREEMODEL")

if found  {
	if val == "enable" {
		datadog = nodetreemodel.NewConfig("datadog", "DD", strings.NewReplacer(".", "_"))
	} else if val == "tee" {
		var viperConfig = pkgconfigmodel.NewConfig("datadog", "DD", strings.NewReplacer(".", "_"))
		var nodetreeConfig = nodetreemodel.NewConfig("datadog", "DD", strings.NewReplacer(".", "_"))
		datadog = teeconfig.NewTeeConfig(viperConfig, nodetreeConfig)
	}
} else {
	datadog = pkgconfigmodel.NewConfig("datadog", "DD", strings.NewReplacer(".", "_"))
}

@@ -241,7 +243,16 @@ var serverlessConfigComponents = []func(pkgconfigmodel.Setup){
func init() {
osinit()
// Configure Datadog global configuration
datadog = pkgconfigmodel.NewConfig("datadog", "DD", strings.NewReplacer(".", "_"))
Copy link
Member

Choose a reason for hiding this comment

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

Could we add a comment explaining the different values for DD_CONF_NODETREEMODEL and what the different config models do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call, done

// by a call to the 'Set' method.
// Callbacks are only called if the value is effectively changed.
func (t *teeConfig) OnUpdate(callback model.NotificationReceiver) {
t.baseline.OnUpdate(callback)
Copy link
Member

Choose a reason for hiding this comment

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

Should we add the OnUpdate to the compare as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, fixed

This comment has been minimized.

Copy link
Contributor

⚠️🚨 Warning, this pull request increases the binary size of serverless extension by 127488 bytes. Each MB of binary size increase means about 10ms of additional cold start time, so this pull request would increase cold start time by 1ms.

Debug info

If you have questions, we are happy to help, come visit us in the #serverless slack channel and provide a link to this comment.

These dependencies were added to the serverless extension by this pull request:

github.com/DataDog/datadog-agent/pkg/config/nodetreemodel

View dependency graphs for each added dependency in the artifacts section of the github action.

We suggest you consider adding the !serverless build tag to remove any new dependencies not needed in the serverless extension.

Copy link
Contributor

Serverless Benchmark Results

BenchmarkStartEndInvocation comparison between bcd3df0 and 16528ae.

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                            89.72µ ± 3%   91.27µ ± 3%       ~ (p=0.579 n=10)
api-gateway-kong-appsec.json                       70.21µ ± 1%   69.37µ ± 4%       ~ (p=0.218 n=10)
api-gateway-kong.json                              69.44µ ± 1%   68.60µ ± 1%  -1.21% (p=0.043 n=10)
api-gateway-non-proxy-async.json                   110.3µ ± 1%   109.4µ ± 2%       ~ (p=0.353 n=10)
api-gateway-non-proxy.json                         108.5µ ± 1%   109.0µ ± 2%       ~ (p=0.280 n=10)
api-gateway-websocket-connect.json                 72.46µ ± 1%   72.27µ ± 2%       ~ (p=0.739 n=10)
api-gateway-websocket-default.json                 65.84µ ± 1%   65.90µ ± 2%       ~ (p=0.853 n=10)
api-gateway-websocket-disconnect.json              65.68µ ± 1%   65.49µ ± 1%       ~ (p=0.631 n=10)
api-gateway.json                                   120.6µ ± 1%   120.8µ ± 2%       ~ (p=0.165 n=10)
application-load-balancer.json                     66.91µ ± 1%   67.47µ ± 1%       ~ (p=0.089 n=10)
cloudfront.json                                    50.20µ ± 2%   50.40µ ± 2%       ~ (p=0.247 n=10)
cloudwatch-events.json                             39.87µ ± 1%   40.76µ ± 2%  +2.25% (p=0.003 n=10)
cloudwatch-logs.json                               67.32µ ± 1%   68.41µ ± 1%  +1.61% (p=0.001 n=10)
custom.json                                        32.73µ ± 2%   32.98µ ± 1%       ~ (p=0.123 n=10)
dynamodb.json                                      97.84µ ± 3%   99.36µ ± 2%       ~ (p=0.075 n=10)
empty.json                                         31.24µ ± 1%   31.13µ ± 2%       ~ (p=1.000 n=10)
eventbridge-custom.json                            50.09µ ± 2%   50.55µ ± 3%       ~ (p=0.436 n=10)
eventbridge-no-bus.json                            50.09µ ± 3%   48.60µ ± 3%  -2.96% (p=0.029 n=10)
eventbridge-no-timestamp.json                      48.02µ ± 3%   47.85µ ± 2%       ~ (p=0.481 n=10)
http-api.json                                      76.01µ ± 3%   76.73µ ± 1%       ~ (p=0.363 n=10)
kinesis-batch.json                                 75.35µ ± 3%   74.58µ ± 1%       ~ (p=0.280 n=10)
kinesis.json                                       57.04µ ± 1%   56.75µ ± 3%       ~ (p=0.190 n=10)
s3.json                                            62.94µ ± 2%   61.60µ ± 2%  -2.12% (p=0.007 n=10)
sns-batch.json                                     94.85µ ± 1%   94.57µ ± 1%       ~ (p=0.971 n=10)
sns.json                                           68.27µ ± 2%   67.80µ ± 2%       ~ (p=0.218 n=10)
snssqs.json                                        115.7µ ± 1%   116.0µ ± 2%       ~ (p=0.853 n=10)
snssqs_no_dd_context.json                          104.9µ ± 2%   102.6µ ± 1%  -2.20% (p=0.001 n=10)
sqs-aws-header.json                                59.77µ ± 2%   58.95µ ± 2%       ~ (p=0.052 n=10)
sqs-batch.json                                     99.26µ ± 3%   99.16µ ± 3%       ~ (p=0.393 n=10)
sqs.json                                           74.11µ ± 4%   72.08µ ± 1%  -2.75% (p=0.035 n=10)
sqs_no_dd_context.json                             67.19µ ± 4%   67.46µ ± 4%       ~ (p=0.684 n=10)
stepfunction.json                                  50.33µ ± 3%   47.84µ ± 3%  -4.96% (p=0.004 n=10)
geomean                                            68.36µ        68.11µ       -0.36%

                                      │ baseline/benchmark.log │        current/benchmark.log        │
                                      │          B/op          │     B/op      vs base               │
api-gateway-appsec.json                           37.28Ki ± 0%   37.33Ki ± 0%  +0.16% (p=0.000 n=10)
api-gateway-kong-appsec.json                      26.93Ki ± 0%   26.93Ki ± 0%       ~ (p=0.643 n=10)
api-gateway-kong.json                             24.44Ki ± 0%   24.44Ki ± 0%       ~ (p=0.971 n=10)
api-gateway-non-proxy-async.json                  48.09Ki ± 0%   48.14Ki ± 0%  +0.10% (p=0.000 n=10)
api-gateway-non-proxy.json                        47.31Ki ± 0%   47.36Ki ± 0%  +0.11% (p=0.000 n=10)
api-gateway-websocket-connect.json                25.50Ki ± 0%   25.54Ki ± 0%  +0.16% (p=0.000 n=10)
api-gateway-websocket-default.json                21.42Ki ± 0%   21.45Ki ± 0%  +0.16% (p=0.000 n=10)
api-gateway-websocket-disconnect.json             21.20Ki ± 0%   21.23Ki ± 0%  +0.15% (p=0.000 n=10)
api-gateway.json                                  49.62Ki ± 0%   49.62Ki ± 0%       ~ (p=0.403 n=10)
application-load-balancer.json                    22.40Ki ± 0%   23.33Ki ± 0%  +4.18% (p=0.000 n=10)
cloudfront.json                                   17.67Ki ± 0%   17.69Ki ± 0%  +0.10% (p=0.001 n=10)
cloudwatch-events.json                            11.71Ki ± 0%   11.75Ki ± 0%  +0.31% (p=0.000 n=10)
cloudwatch-logs.json                              53.40Ki ± 0%   53.39Ki ± 0%       ~ (p=0.853 n=10)
custom.json                                       9.756Ki ± 0%   9.773Ki ± 0%  +0.18% (p=0.025 n=10)
dynamodb.json                                     40.80Ki ± 0%   40.84Ki ± 0%  +0.08% (p=0.000 n=10)
empty.json                                        9.332Ki ± 0%   9.337Ki ± 0%       ~ (p=0.516 n=10)
eventbridge-custom.json                           15.06Ki ± 0%   15.06Ki ± 0%       ~ (p=0.565 n=10)
eventbridge-no-bus.json                           14.04Ki ± 0%   14.02Ki ± 0%  -0.13% (p=0.025 n=10)
eventbridge-no-timestamp.json                     14.04Ki ± 0%   14.03Ki ± 0%       ~ (p=0.956 n=10)
http-api.json                                     23.86Ki ± 0%   23.93Ki ± 0%  +0.30% (p=0.000 n=10)
kinesis-batch.json                                27.12Ki ± 0%   27.17Ki ± 0%       ~ (p=0.085 n=10)
kinesis.json                                      17.91Ki ± 0%   17.93Ki ± 0%       ~ (p=0.565 n=10)
s3.json                                           20.46Ki ± 1%   20.49Ki ± 0%       ~ (p=0.225 n=10)
sns-batch.json                                    38.82Ki ± 0%   38.82Ki ± 0%       ~ (p=0.725 n=10)
sns.json                                          24.08Ki ± 0%   24.12Ki ± 0%       ~ (p=0.123 n=10)
snssqs.json                                       50.71Ki ± 0%   50.78Ki ± 0%  +0.15% (p=0.009 n=10)
snssqs_no_dd_context.json                         44.97Ki ± 0%   44.99Ki ± 0%       ~ (p=0.225 n=10)
sqs-aws-header.json                               18.86Ki ± 1%   18.90Ki ± 1%       ~ (p=0.343 n=10)
sqs-batch.json                                    41.88Ki ± 0%   41.84Ki ± 0%       ~ (p=0.353 n=10)
sqs.json                                          25.63Ki ± 1%   25.72Ki ± 1%       ~ (p=0.912 n=10)
sqs_no_dd_context.json                            20.83Ki ± 2%   20.78Ki ± 1%       ~ (p=0.739 n=10)
stepfunction.json                                 14.26Ki ± 1%   14.25Ki ± 2%       ~ (p=0.853 n=10)
geomean                                           24.45Ki        24.50Ki       +0.21%

                                      │ baseline/benchmark.log │        current/benchmark.log        │
                                      │       allocs/op        │ allocs/op   vs base                 │
api-gateway-appsec.json                             629.5 ± 0%   629.5 ± 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                    726.0 ± 0%   726.0 ± 0%       ~ (p=1.000 n=10)
api-gateway-non-proxy.json                          716.0 ± 0%   716.0 ± 0%       ~ (p=0.582 n=10)
api-gateway-websocket-connect.json                  453.0 ± 0%   453.0 ± 0%       ~ (p=0.087 n=10)
api-gateway-websocket-default.json                  380.0 ± 0%   380.0 ± 0%       ~ (p=1.000 n=10)
api-gateway-websocket-disconnect.json               370.0 ± 0%   370.0 ± 0%       ~ (p=1.000 n=10) ¹
api-gateway.json                                    791.0 ± 0%   791.0 ± 0%       ~ (p=1.000 n=10)
application-load-balancer.json                      352.0 ± 0%   353.0 ± 0%  +0.28% (p=0.000 n=10)
cloudfront.json                                     284.0 ± 0%   284.0 ± 0%       ~ (p=1.000 n=10) ¹
cloudwatch-events.json                              220.0 ± 0%   220.0 ± 0%       ~ (p=0.303 n=10)
cloudwatch-logs.json                                216.0 ± 0%   216.0 ± 0%       ~ (p=0.628 n=10)
custom.json                                         169.0 ± 1%   169.0 ± 0%       ~ (p=0.582 n=10)
dynamodb.json                                       589.0 ± 0%   589.0 ± 0%       ~ (p=0.628 n=10)
empty.json                                          160.0 ± 0%   160.0 ± 0%       ~ (p=1.000 n=10)
eventbridge-custom.json                             267.0 ± 0%   267.0 ± 0%       ~ (p=1.000 n=10)
eventbridge-no-bus.json                             258.0 ± 0%   258.0 ± 0%       ~ (p=0.263 n=10)
eventbridge-no-timestamp.json                       258.0 ± 0%   258.0 ± 0%       ~ (p=0.677 n=10)
http-api.json                                       434.0 ± 0%   434.0 ± 0%       ~ (p=0.458 n=10)
kinesis-batch.json                                  392.0 ± 0%   392.0 ± 0%       ~ (p=1.000 n=10)
kinesis.json                                        286.5 ± 1%   286.0 ± 0%       ~ (p=0.386 n=10)
s3.json                                             359.0 ± 0%   359.0 ± 0%       ~ (p=0.742 n=10)
sns-batch.json                                      456.5 ± 0%   457.0 ± 0%       ~ (p=1.000 n=10)
sns.json                                            324.0 ± 0%   324.5 ± 0%       ~ (p=0.143 n=10)
snssqs.json                                         440.0 ± 0%   440.0 ± 0%       ~ (p=0.557 n=10)
snssqs_no_dd_context.json                           402.0 ± 0%   401.0 ± 0%       ~ (p=0.244 n=10)
sqs-aws-header.json                                 274.5 ± 1%   275.0 ± 1%       ~ (p=0.310 n=10)
sqs-batch.json                                      506.5 ± 1%   506.0 ± 0%       ~ (p=0.518 n=10)
sqs.json                                            351.5 ± 1%   353.0 ± 1%       ~ (p=0.778 n=10)
sqs_no_dd_context.json                              327.0 ± 2%   325.5 ± 1%       ~ (p=0.955 n=10)
stepfunction.json                                   237.5 ± 1%   237.0 ± 2%       ~ (p=0.382 n=10)
geomean                                             363.7        363.7       -0.00%
¹ all samples are equal

@dustmop
Copy link
Contributor Author

dustmop commented Sep 27, 2024

/merge

@dd-devflow
Copy link

dd-devflow bot commented Sep 27, 2024

🚂 MergeQueue: waiting for PR to be ready

This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.

Use /merge -c to cancel this operation!

@dd-devflow
Copy link

dd-devflow bot commented Sep 27, 2024

🚂 MergeQueue: pull request added to the queue

The median merge time in main is 24m.

Use /merge -c to cancel this operation!

@dd-mergequeue dd-mergequeue bot merged commit 738669f into main Sep 27, 2024
237 of 256 checks passed
@dd-mergequeue dd-mergequeue bot deleted the dustin.long/tee-config-model branch September 27, 2024 19:07
@github-actions github-actions bot added this to the 7.59.0 milestone Sep 27, 2024
wdhif pushed a commit that referenced this pull request Sep 30, 2024
wdhif pushed a commit that referenced this pull request Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog qa/done Skip QA week as QA was done before merge and regressions are covered by tests team/agent-shared-components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants