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

Refactor ReceiveResourceSpans to share code with otelSpanToDDSpan fro… #29435

Merged
merged 19 commits into from
Oct 8, 2024

Conversation

IbraheemA
Copy link
Contributor

@IbraheemA IbraheemA commented Sep 18, 2024

…m Concentrator

What does this PR do?

JIRA Link: https://datadoghq.atlassian.net/browse/OTEL-1726

Refactor ReceiveResourceSpans such that it uses the same mapping logic as otelSpanToDDSpan from pkg/trace/stats/otel_util.go . Also leverage other helpers from pkg/trace/traceutil/otel_util.go.

Moved “otelSpanToDDSpan” to new trace/transform module because putting it in traceutil module resulted in circular import between trace/config and trace/traceutil

Add a new feature flag enable_receive_resource_spans_v2 under apm_config.features to gate this refactor.

Removed functionality compared to the old ReceiveResourceSpans :

  • No longer populate these fields in tagstats:

    LangVersion, Interpreter, LangVendor

  • No longer check for lang and containerID in HTTP header

  • No longer check for resource-related values (container, env, hostname) in span attributes. We had support for it before, but that behaviour doesn't follow OTel spec

Added functionality:

  • Leverage o.conf.Ignore to ignore spans with specified resource names

Motivation

The goals of this refactor were to make the code more readable, and to make the logic for setting span.Resource and span.Type easier to change in a future PR.

Describe how to test/QA your changes

Add enable_receive_resource_spans_v2 flag in apm_config.features in datadog.yaml. Build agent locally, run it, and send through traces (I tested using calendar app). Verify in the frontend that the data received is the same before and after the refactor.

Benchmarks run in otlp_test.go:

BenchmarkProcessRequestV1-16    	     129	   9138596 ns/op	15494826 B/op	   11583 allocs/op
BenchmarkProcessRequestV2-16    	     150	   8102461 ns/op	10221881 B/op	   11312 allocs/op

BenchmarkProcessRequestTopLevelV1-16    	     134	   8847806 ns/op	15701001 B/op	   12577 allocs/op
BenchmarkProcessRequestTopLevelV2-16    	     145	   8197172 ns/op	10222064 B/op	   11313 allocs/op

Possible Drawbacks / Trade-offs

Additional Notes

@IbraheemA IbraheemA requested review from a team as code owners September 18, 2024 20:22
@github-actions github-actions bot added the team/opentelemetry OpenTelemetry team label Sep 18, 2024
@pr-commenter
Copy link

pr-commenter bot commented Sep 18, 2024

Regression Detector

Regression Detector Results

Run ID: 8aca0ace-2fa3-497d-a213-9bdcbf16b408 Metrics dashboard Target profiles

Baseline: b755dfa
Comparison: 6fe52f3

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
basic_py_check % cpu utilization +2.75 [+0.10, +5.41] 1 Logs
uds_dogstatsd_to_api_cpu % cpu utilization +2.64 [+1.90, +3.37] 1 Logs
tcp_syslog_to_blackhole ingress throughput +0.49 [+0.43, +0.56] 1 Logs
idle memory utilization +0.01 [-0.04, +0.05] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput +0.00 [-0.01, +0.01] 1 Logs
uds_dogstatsd_to_api ingress throughput -0.02 [-0.10, +0.05] 1 Logs
pycheck_lots_of_tags % cpu utilization -0.04 [-2.45, +2.37] 1 Logs
file_tree memory utilization -0.06 [-0.17, +0.04] 1 Logs
idle_all_features memory utilization -0.40 [-0.49, -0.30] 1 Logs
otel_to_otel_logs ingress throughput -0.56 [-1.37, +0.24] 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
Contributor

@buraizu buraizu left a comment

Choose a reason for hiding this comment

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

Thanks, just requesting a couple of minor edits

pkg/config/config_template.yaml Outdated Show resolved Hide resolved
Copy link

cit-pr-commenter bot commented Sep 19, 2024

Go Package Import Differences

Baseline: b755dfa
Comparison: 6fe52f3

binaryosarchchange
serverlesslinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/trace/transform
serverlesslinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/trace/transform
trace-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/trace/transform
trace-agentlinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/trace/transform
trace-agentwindowsamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/trace/transform
trace-agentdarwinamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/trace/transform
trace-agentdarwinarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/trace/transform
heroku-trace-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/trace/transform

pkg/trace/api/otlp.go Outdated Show resolved Hide resolved
pkg/trace/api/otlp.go Outdated Show resolved Hide resolved
pkg/api/util/util.go Outdated Show resolved Hide resolved
pkg/trace/api/otlp.go Outdated Show resolved Hide resolved
pkg/trace/api/otlp.go Outdated Show resolved Hide resolved
pkg/trace/api/otlp.go Outdated Show resolved Hide resolved
pkg/trace/api/otlp.go Show resolved Hide resolved
pkg/trace/transform/transform.go Outdated Show resolved Hide resolved
pkg/trace/transform/transform.go Outdated Show resolved Hide resolved
pkg/trace/transform/transform.go Outdated Show resolved Hide resolved
pkg/trace/api/otlp.go Outdated Show resolved Hide resolved
Tags: info.Tags{
Lang: lang,
TracerVersion: fmt.Sprintf("otlp-%s", resourceAttributesMap[semconv.AttributeTelemetrySDKVersion]),
EndpointVersion: "opentelemetry_grpc_v1",
Copy link
Member

Choose a reason for hiding this comment

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

whats this ? why this value .

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From a conversation with the trace agent team, it's needed downstream.

Copy link
Member

Choose a reason for hiding this comment

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

Can you please add a comment, where is it need downstream

pkg/trace/api/otlp.go Show resolved Hide resolved
pkg/trace/api/otlp.go Show resolved Hide resolved
pkg/trace/api/otlp.go Outdated Show resolved Hide resolved
pkg/trace/api/otlp_test.go Show resolved Hide resolved
Copy link
Member

@dineshg13 dineshg13 left a comment

Choose a reason for hiding this comment

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

As discussed, lets make performance changes before merging this

@IbraheemA
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Oct 3, 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!

This comment has been minimized.

@IbraheemA
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Oct 3, 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 Oct 3, 2024

⚠️ MergeQueue: This merge request was unqueued

This merge request was unqueued

If you need support, contact us on Slack #devflow!

@IbraheemA
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Oct 3, 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!

@IbraheemA
Copy link
Contributor Author

/merge -c

@dd-devflow
Copy link

dd-devflow bot commented Oct 3, 2024

⚠️ MergeQueue: This merge request was unqueued

This merge request was unqueued

If you need support, contact us on Slack #devflow!

@IbraheemA
Copy link
Contributor Author

/gitlab estimate-cost

@dd-devflow
Copy link

dd-devflow bot commented Oct 4, 2024

🚂 Devflow: /gitlab estimate-cost

Estimated cost is $182.86 for Refactor ReceiveResourceSpans to share code with otelSpanToDDSpan fro… (cumulated CI duration: 94h3m45s)

Copy link
Contributor

@ajgajg1134 ajgajg1134 left a comment

Choose a reason for hiding this comment

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

This looks good to me from trace-agent side of things, Do you have a deprecation / testing plan here to move everyone to v2 or will both implementations need to continue to exist

Stats: info.NewStats(),
}

tags := tagstats.AsTags()
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you have (or want) any telemetry here to track adoption of this feature flag? (you might get this for free through the configuration telemetry but I'm not sure how well that will work for a feature flag)

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Oct 7, 2024

📥 📢 Info, this pull request increases the binary size of serverless extension by 24576 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 0ms.

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.

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

Copy link
Contributor

github-actions bot commented Oct 7, 2024

Serverless Benchmark Results

BenchmarkStartEndInvocation comparison between b755dfa and 5736163.

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                            92.96µ ± 3%   85.79µ ± 3%   -7.71% (p=0.001 n=10)
api-gateway-kong-appsec.json                       73.64µ ± 2%   67.92µ ± 1%   -7.77% (p=0.000 n=10)
api-gateway-kong.json                              72.00µ ± 4%   66.72µ ± 2%   -7.33% (p=0.000 n=10)
api-gateway-non-proxy-async.json                   113.2µ ± 2%   106.1µ ± 1%   -6.30% (p=0.000 n=10)
api-gateway-non-proxy.json                         111.5µ ± 2%   106.5µ ± 1%   -4.53% (p=0.000 n=10)
api-gateway-websocket-connect.json                 74.48µ ± 0%   70.97µ ± 1%   -4.71% (p=0.000 n=10)
api-gateway-websocket-default.json                 67.27µ ± 1%   63.83µ ± 1%   -5.12% (p=0.000 n=10)
api-gateway-websocket-disconnect.json              68.22µ ± 1%   64.20µ ± 0%   -5.88% (p=0.000 n=10)
api-gateway.json                                   122.4µ ± 3%   116.3µ ± 0%   -4.93% (p=0.000 n=10)
application-load-balancer.json                     68.71µ ± 1%   66.15µ ± 1%   -3.72% (p=0.000 n=10)
cloudfront.json                                    51.74µ ± 2%   48.39µ ± 1%   -6.47% (p=0.000 n=10)
cloudwatch-events.json                             41.43µ ± 2%   39.77µ ± 2%   -3.99% (p=0.000 n=10)
cloudwatch-logs.json                               71.86µ ± 3%   67.52µ ± 1%   -6.04% (p=0.000 n=10)
custom.json                                        34.84µ ± 2%   32.78µ ± 3%   -5.90% (p=0.000 n=10)
dynamodb.json                                     102.00µ ± 1%   95.79µ ± 1%   -6.09% (p=0.000 n=10)
empty.json                                         33.50µ ± 3%   30.92µ ± 2%   -7.72% (p=0.000 n=10)
eventbridge-custom.json                            52.71µ ± 1%   49.12µ ± 1%   -6.81% (p=0.000 n=10)
eventbridge-no-bus.json                            51.99µ ± 3%   48.44µ ± 2%   -6.83% (p=0.000 n=10)
eventbridge-no-timestamp.json                      51.14µ ± 1%   47.89µ ± 2%   -6.36% (p=0.000 n=10)
eventbridgesns.json                                69.74µ ± 2%   65.50µ ± 1%   -6.08% (p=0.000 n=10)
eventbridgesqs.json                                77.77µ ± 2%   73.03µ ± 2%   -6.10% (p=0.000 n=10)
http-api.json                                      79.85µ ± 2%   74.19µ ± 3%   -7.08% (p=0.000 n=10)
kinesis-batch.json                                 75.25µ ± 2%   71.88µ ± 2%   -4.47% (p=0.000 n=10)
kinesis.json                                       59.02µ ± 2%   55.77µ ± 2%   -5.50% (p=0.000 n=10)
s3.json                                            63.22µ ± 3%   61.61µ ± 2%   -2.55% (p=0.002 n=10)
sns-batch.json                                     98.43µ ± 1%   93.57µ ± 3%   -4.94% (p=0.001 n=10)
sns.json                                           73.85µ ± 3%   70.59µ ± 2%   -4.42% (p=0.000 n=10)
snssqs.json                                        126.5µ ± 1%   122.9µ ± 3%   -2.84% (p=0.002 n=10)
snssqs_no_dd_context.json                          115.1µ ± 1%   108.2µ ± 1%   -6.05% (p=0.000 n=10)
sqs-aws-header.json                                62.87µ ± 2%   62.21µ ± 2%        ~ (p=0.123 n=10)
sqs-batch.json                                    103.71µ ± 3%   99.03µ ± 1%   -4.51% (p=0.000 n=10)
sqs.json                                           78.86µ ± 2%   74.96µ ± 2%   -4.94% (p=0.000 n=10)
sqs_no_dd_context.json                             72.08µ ± 3%   70.05µ ± 1%   -2.82% (p=0.037 n=10)
stepfunction.json                                  52.63µ ± 3%   47.19µ ± 6%  -10.32% (p=0.000 n=10)
geomean                                            71.58µ        67.61µ        -5.54%

                                      │ baseline/benchmark.log │        current/benchmark.log        │
                                      │          B/op          │     B/op      vs base               │
api-gateway-appsec.json                           37.28Ki ± 0%   37.34Ki ± 0%  +0.16% (p=0.000 n=10)
api-gateway-kong-appsec.json                      26.93Ki ± 0%   26.94Ki ± 0%       ~ (p=0.869 n=10)
api-gateway-kong.json                             24.44Ki ± 0%   24.43Ki ± 0%       ~ (p=0.171 n=10)
api-gateway-non-proxy-async.json                  48.08Ki ± 0%   48.13Ki ± 0%  +0.09% (p=0.000 n=10)
api-gateway-non-proxy.json                        47.31Ki ± 0%   47.36Ki ± 0%  +0.10% (p=0.000 n=10)
api-gateway-websocket-connect.json                25.52Ki ± 0%   25.53Ki ± 0%  +0.07% (p=0.000 n=10)
api-gateway-websocket-default.json                21.42Ki ± 0%   21.44Ki ± 0%  +0.08% (p=0.000 n=10)
api-gateway-websocket-disconnect.json             21.21Ki ± 0%   21.23Ki ± 0%  +0.08% (p=0.001 n=10)
api-gateway.json                                  49.60Ki ± 0%   49.60Ki ± 0%       ~ (p=0.516 n=10)
application-load-balancer.json                    22.40Ki ± 0%   23.33Ki ± 0%  +4.13% (p=0.000 n=10)
cloudfront.json                                   17.69Ki ± 0%   17.68Ki ± 0%       ~ (p=1.000 n=10)
cloudwatch-events.json                            11.72Ki ± 0%   11.74Ki ± 0%  +0.18% (p=0.001 n=10)
cloudwatch-logs.json                              53.40Ki ± 0%   53.39Ki ± 0%       ~ (p=0.517 n=10)
custom.json                                       9.771Ki ± 0%   9.770Ki ± 0%       ~ (p=0.955 n=10)
dynamodb.json                                     40.82Ki ± 0%   40.83Ki ± 0%       ~ (p=0.381 n=10)
empty.json                                        9.327Ki ± 0%   9.339Ki ± 0%       ~ (p=0.868 n=10)
eventbridge-custom.json                           15.07Ki ± 0%   15.05Ki ± 0%  -0.11% (p=0.017 n=10)
eventbridge-no-bus.json                           14.05Ki ± 0%   14.04Ki ± 0%       ~ (p=0.159 n=10)
eventbridge-no-timestamp.json                     14.07Ki ± 0%   14.04Ki ± 0%       ~ (p=0.158 n=10)
eventbridgesns.json                               20.98Ki ± 0%   21.01Ki ± 0%  +0.19% (p=0.019 n=10)
eventbridgesqs.json                               25.19Ki ± 0%   25.22Ki ± 0%       ~ (p=0.149 n=10)
http-api.json                                     23.94Ki ± 0%   23.99Ki ± 0%  +0.21% (p=0.001 n=10)
kinesis-batch.json                                27.21Ki ± 0%   27.14Ki ± 0%  -0.24% (p=0.011 n=10)
kinesis.json                                      17.94Ki ± 0%   17.98Ki ± 1%       ~ (p=0.325 n=10)
s3.json                                           20.46Ki ± 1%   20.52Ki ± 1%       ~ (p=0.218 n=10)
sns-batch.json                                    40.00Ki ± 0%   40.02Ki ± 0%       ~ (p=0.481 n=10)
sns.json                                          25.25Ki ± 1%   25.22Ki ± 1%       ~ (p=0.592 n=10)
snssqs.json                                       53.85Ki ± 0%   53.96Ki ± 0%  +0.20% (p=0.029 n=10)
snssqs_no_dd_context.json                         47.60Ki ± 1%   47.61Ki ± 0%       ~ (p=0.616 n=10)
sqs-aws-header.json                               19.42Ki ± 1%   19.55Ki ± 0%  +0.64% (p=0.004 n=10)
sqs-batch.json                                    42.41Ki ± 0%   42.38Ki ± 0%       ~ (p=0.684 n=10)
sqs.json                                          26.30Ki ± 1%   26.23Ki ± 0%       ~ (p=0.315 n=10)
sqs_no_dd_context.json                            21.92Ki ± 0%   21.89Ki ± 1%       ~ (p=0.393 n=10)
stepfunction.json                                 14.40Ki ± 1%   14.42Ki ± 1%       ~ (p=0.670 n=10)
geomean                                           24.61Ki        24.65Ki       +0.17%

                                      │ baseline/benchmark.log │        current/benchmark.log        │
                                      │       allocs/op        │ allocs/op   vs base                 │
api-gateway-appsec.json                             630.0 ± 0%   629.5 ± 0%       ~ (p=0.650 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=0.582 n=10)
api-gateway-non-proxy-async.json                    726.0 ± 0%   725.5 ± 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=1.000 n=10)
api-gateway-websocket-default.json                  380.0 ± 0%   379.0 ± 0%       ~ (p=0.070 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                              221.0 ± 0%   220.0 ± 0%       ~ (p=0.656 n=10)
cloudwatch-logs.json                                216.0 ± 0%   216.0 ± 0%       ~ (p=0.582 n=10)
custom.json                                         169.0 ± 0%   169.0 ± 1%       ~ (p=0.211 n=10)
dynamodb.json                                       590.0 ± 0%   589.0 ± 0%       ~ (p=0.055 n=10)
empty.json                                          160.0 ± 1%   160.0 ± 0%       ~ (p=0.211 n=10)
eventbridge-custom.json                             267.0 ± 0%   267.0 ± 0%       ~ (p=0.628 n=10)
eventbridge-no-bus.json                             258.0 ± 0%   258.0 ± 0%       ~ (p=1.000 n=10)
eventbridge-no-timestamp.json                       259.0 ± 0%   258.0 ± 0%       ~ (p=0.370 n=10)
eventbridgesns.json                                 326.5 ± 0%   327.0 ± 0%       ~ (p=0.885 n=10)
eventbridgesqs.json                                 368.0 ± 0%   368.0 ± 0%       ~ (p=0.841 n=10)
http-api.json                                       435.0 ± 0%   435.0 ± 0%       ~ (p=0.861 n=10)
kinesis-batch.json                                  393.0 ± 0%   392.0 ± 0%  -0.25% (p=0.007 n=10)
kinesis.json                                        287.0 ± 0%   287.0 ± 1%       ~ (p=0.930 n=10)
s3.json                                             359.5 ± 1%   360.0 ± 1%       ~ (p=0.485 n=10)
sns-batch.json                                      480.0 ± 0%   480.0 ± 0%       ~ (p=0.692 n=10)
sns.json                                            348.0 ± 1%   347.5 ± 1%       ~ (p=0.525 n=10)
snssqs.json                                         478.5 ± 0%   479.0 ± 0%       ~ (p=0.468 n=10)
snssqs_no_dd_context.json                           437.5 ± 1%   437.0 ± 0%       ~ (p=0.183 n=10)
sqs-aws-header.json                                 286.0 ± 1%   288.0 ± 0%  +0.70% (p=0.009 n=10)
sqs-batch.json                                      518.0 ± 1%   518.0 ± 1%       ~ (p=0.668 n=10)
sqs.json                                            365.0 ± 1%   364.0 ± 1%       ~ (p=0.353 n=10)
sqs_no_dd_context.json                              350.5 ± 0%   349.0 ± 1%       ~ (p=0.100 n=10)
stepfunction.json                                   240.0 ± 1%   239.5 ± 1%       ~ (p=0.925 n=10)
geomean                                             367.9        367.7       -0.04%
¹ all samples are equal

@IbraheemA
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Oct 8, 2024

🚂 MergeQueue: pull request added to the queue

The median merge time in main is 25m.

Use /merge -c to cancel this operation!

@dd-mergequeue dd-mergequeue bot merged commit f6752d3 into main Oct 8, 2024
229 checks passed
@dd-mergequeue dd-mergequeue bot deleted the ibraheem/refactor-receiveresourcespans branch October 8, 2024 17:12
@github-actions github-actions bot added this to the 7.60.0 milestone Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/opentelemetry OpenTelemetry team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants