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

[Version Bump] 2.5.1 #2598

Merged
merged 1 commit into from
Mar 25, 2022
Merged

[Version Bump] 2.5.1 #2598

merged 1 commit into from
Mar 25, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 24, 2022

The following files were found to be modified. Confirm that these changes were expected (for example, changes to files in the MSI project are expected if our dependencies have changed).

  • profiler/src/ProfilerEngine/Datadog.Profiler.Native.Linux/CMakeLists.txt
  • profiler/src/ProfilerEngine/Datadog.Profiler.Native.Windows/Resource.rc
  • profiler/src/ProfilerEngine/Datadog.Profiler.Native/dd_profiler_version.h
  • profiler/src/ProfilerEngine/ProductVersion.props

The following files were found to be modified (as expected)

  • shared/src/msi-installer/WindowsInstaller.wixproj
  • tracer/build/_build/Build.cs
  • tracer/samples/AutomaticTraceIdInjection/MicrosoftExtensionsExample/MicrosoftExtensionsExample.csproj
  • tracer/samples/AutomaticTraceIdInjection/Log4NetExample/Log4NetExample.csproj
  • tracer/samples/AutomaticTraceIdInjection/NLog40Example/NLog40Example.csproj
  • tracer/samples/AutomaticTraceIdInjection/NLog45Example/NLog45Example.csproj
  • tracer/samples/AutomaticTraceIdInjection/NLog46Example/NLog46Example.csproj
  • tracer/samples/AutomaticTraceIdInjection/SerilogExample/SerilogExample.csproj
  • tracer/samples/ConsoleApp/Alpine3.10.dockerfile
  • tracer/samples/ConsoleApp/Alpine3.9.dockerfile
  • tracer/samples/ConsoleApp/Debian.dockerfile
  • tracer/samples/WindowsContainer/Dockerfile
  • tracer/src/Datadog.Monitoring.Distribution/Datadog.Monitoring.Distribution.csproj
  • tracer/src/Datadog.Trace.AspNet/Datadog.Trace.AspNet.csproj
  • tracer/src/Datadog.Trace.ClrProfiler.Managed.Loader/Datadog.Trace.ClrProfiler.Managed.Loader.csproj
  • tracer/src/Datadog.Trace.ClrProfiler.Managed.Loader/Startup.cs
  • tracer/src/Datadog.Trace.ClrProfiler.Native/CMakeLists.txt
  • tracer/src/Datadog.Trace.ClrProfiler.Native/dd_profiler_constants.h
  • tracer/src/Datadog.Trace.ClrProfiler.Native/Resource.rc
  • tracer/src/Datadog.Trace.ClrProfiler.Native/version.h
  • tracer/src/Datadog.Trace.MSBuild/Datadog.Trace.MSBuild.csproj
  • tracer/src/Datadog.Trace.OpenTracing/Datadog.Trace.OpenTracing.csproj
  • tracer/src/Datadog.Trace.Tools.Runner/Datadog.Trace.Tools.Runner.csproj
  • tracer/src/Datadog.Trace/Datadog.Trace.csproj
  • tracer/src/Datadog.Trace/TracerConstants.cs
  • tracer/src/WindowsInstaller/WindowsInstaller.wixproj
  • tracer/test/test-applications/regression/AutomapperTest/Dockerfile

@DataDog/apm-dotnet

@github-actions github-actions bot requested review from a team as code owners March 24, 2022 21:21
@andrewlock
Copy link
Member

Code Coverage Report 📊

✔️ Merging #2598 into master will not change line coverage
✔️ Merging #2598 into master will not change branch coverage
✔️ Merging #2598 into master will not change complexity

master #2598 Change
Lines 12516 / 17439 12470 / 17439
Lines % 72% 72% 0% ✔️
Branches 7061 / 10195 7019 / 10195
Branches % 69% 69% 0% ✔️
Complexity 11427 11427 0 ✔️

View the full report for further details:

Datadog.Trace Breakdown ✔️

master #2598 Change
Lines % 72% 72% 0% ✔️
Branches % 69% 69% 0% ✔️
Complexity 11427 11427 0 ✔️

The following classes have significant coverage changes.

File Line coverage change Branch coverage change Complexity change
Datadog.Trace.Agent.StreamFactories.TcpStreamFactory -90% 0% ✔️ 0 ✔️
Datadog.Trace.Telemetry.JsonWebRequestTelemetryTransport -28% -57% 0 ✔️
Datadog.Trace.Telemetry.JsonHttpClientTelemetryTransport -26% -38% 0 ✔️
Datadog.Trace.Agent.TracesTransportStrategy -15% 0% ✔️ 0 ✔️
Datadog.Trace.DiagnosticListeners.AspNetCoreDiagnosticObserver -4% ⚠️ -8% 0 ✔️

View the full reports for further details:

@andrewlock
Copy link
Member

Benchmarks Report 🐌

Benchmarks for #2598 compared to master:

  • 1 benchmarks are faster, with geometric mean 1.182
  • All benchmarks have the same allocations

The following thresholds were used for comparing the benchmark speeds:

  • Mann–Whitney U test with statistical test for significance of 5%
  • Only results indicating a difference greater than 10% and 0.3 ns are considered.

Allocation changes below 0.5% are ignored.

Benchmark details

Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net472 937μs 5.16μs 30.1μs 0 0 0 3.16 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 691μs 2.54μs 9.85μs 0 0 0 2.57 KB
#2598 WriteAndFlushEnrichedTraces net472 892μs 2.46μs 8.87μs 0 0 0 3.16 KB
#2598 WriteAndFlushEnrichedTraces netcoreapp3.1 683μs 1.8μs 6.5μs 0 0 0 2.57 KB
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendRequest net472 0ns 0ns 0ns 0 0 0 0 b
master SendRequest netcoreapp3.1 288μs 1.35μs 6.33μs 0.146 0 0 19.74 KB
#2598 SendRequest net472 0.00082ns 0.00082ns 0.00457ns 0 0 0 0 b
#2598 SendRequest netcoreapp3.1 286μs 1.07μs 4μs 0.28 0 0 19.74 KB
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteNonQuery net472 1.78μs 9ns 42.2ns 0.0938 0.000877 0 594 B
master ExecuteNonQuery netcoreapp3.1 1.42μs 3.22ns 12.1ns 0.00859 0 0 632 B
#2598 ExecuteNonQuery net472 1.74μs 8.37ns 34.5ns 0.094 0 0 594 B
#2598 ExecuteNonQuery netcoreapp3.1 1.46μs 5.13ns 19.2ns 0.00881 0 0 632 B
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master CallElasticsearch net472 2.69μs 9.78ns 36.6ns 0.127 0 0 803 B
master CallElasticsearch netcoreapp3.1 1.74μs 9.43ns 52.5ns 0.011 0 0 792 B
master CallElasticsearchAsync net472 2.93μs 10ns 38.9ns 0.148 0.00145 0 939 B
master CallElasticsearchAsync netcoreapp3.1 1.89μs 10.8ns 79.4ns 0.0126 0 0 912 B
#2598 CallElasticsearch net472 2.73μs 9.06ns 35.1ns 0.127 0 0 803 B
#2598 CallElasticsearch netcoreapp3.1 1.77μs 7.88ns 30.5ns 0.0112 0 0 792 B
#2598 CallElasticsearchAsync net472 2.9μs 14.2ns 63.3ns 0.148 0 0 939 B
#2598 CallElasticsearchAsync netcoreapp3.1 1.78μs 7.14ns 27.7ns 0.0123 0 0 912 B
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteAsync net472 3.05μs 11.9ns 46.1ns 0.168 0.00157 0 1.06 KB
master ExecuteAsync netcoreapp3.1 2.03μs 10.6ns 56.3ns 0.014 0 0 1.03 KB
#2598 ExecuteAsync net472 3.13μs 14.6ns 58.4ns 0.167 0.00153 0 1.06 KB
#2598 ExecuteAsync netcoreapp3.1 1.94μs 9.85ns 56.6ns 0.0141 0 0 1.03 KB
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendAsync net472 7.07μs 20.4ns 78.9ns 0.361 0 0 2.28 KB
master SendAsync netcoreapp3.1 4.56μs 14.1ns 54.5ns 0.0301 0 0 2.21 KB
#2598 SendAsync net472 7.07μs 31.1ns 112ns 0.36 0 0 2.28 KB
#2598 SendAsync netcoreapp3.1 4.82μs 24.4ns 112ns 0.0304 0 0 2.21 KB
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net472 3.36μs 16.5ns 67.8ns 0.227 0 0 1.45 KB
master EnrichedLog netcoreapp3.1 3.14μs 15.2ns 64.6ns 0.0202 0 0 1.53 KB
#2598 EnrichedLog net472 3.46μs 19.8ns 150ns 0.227 0 0 1.45 KB
#2598 EnrichedLog netcoreapp3.1 3.16μs 15.3ns 59.1ns 0.0203 0 0 1.53 KB
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net472 287μs 1μs 3.75μs 0.433 0.144 0 4.33 KB
master EnrichedLog netcoreapp3.1 229μs 772ns 2.99μs 0 0 0 4.21 KB
#2598 EnrichedLog net472 288μs 1.17μs 4.54μs 0.427 0.142 0 4.33 KB
#2598 EnrichedLog netcoreapp3.1 229μs 858ns 3.64μs 0 0 0 4.21 KB
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net472 7.62μs 41.8ns 261ns 0.506 0 0 3.23 KB
master EnrichedLog netcoreapp3.1 6.29μs 22.6ns 81.5ns 0.0499 0 0 3.6 KB
#2598 EnrichedLog net472 7.4μs 28.3ns 110ns 0.503 0 0 3.23 KB
#2598 EnrichedLog netcoreapp3.1 6.2μs 25.5ns 98.7ns 0.0491 0 0 3.6 KB
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendReceive net472 2.35μs 10.2ns 35.5ns 0.16 0.00118 0 1.01 KB
master SendReceive netcoreapp3.1 2.18μs 12ns 80.4ns 0.0136 0 0 1.01 KB
#2598 SendReceive net472 2.7μs 46.9ns 469ns 0.158 0 0 1.01 KB
#2598 SendReceive netcoreapp3.1 1.99μs 5.84ns 21.8ns 0.0141 0 0 1.01 KB
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net472 6.1μs 31.4ns 151ns 0.292 0 0 1.87 KB
master EnrichedLog netcoreapp3.1 5.1μs 19.1ns 74ns 0.0202 0 0 1.49 KB
#2598 EnrichedLog net472 5.81μs 21.7ns 75.1ns 0.291 0 0 1.87 KB
#2598 EnrichedLog netcoreapp3.1 5.32μs 29.5ns 179ns 0.0203 0 0 1.49 KB
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️

Faster 🎉 in #2598

Benchmark base/diff Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1 1.182 1,226.56 1,037.29

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartFinishSpan net472 892ns 4.4ns 18.2ns 0.0719 0 0 457 B
master StartFinishSpan netcoreapp3.1 886ns 3.29ns 12.7ns 0.00635 0 0 456 B
master StartFinishScope net472 1.11μs 3.53ns 13.7ns 0.0844 0 0 538 B
master StartFinishScope netcoreapp3.1 1.23μs 4.95ns 23.2ns 0.00749 0 0 576 B
#2598 StartFinishSpan net472 906ns 5ns 30.4ns 0.0717 0 0 457 B
#2598 StartFinishSpan netcoreapp3.1 868ns 4.67ns 26ns 0.00632 0 0 456 B
#2598 StartFinishScope net472 1.11μs 4.6ns 23.5ns 0.0844 0 0 538 B
#2598 StartFinishScope netcoreapp3.1 1.06μs 6.72ns 62.7ns 0.00772 0 0 576 B
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master RunOnMethodBegin net472 1.28μs 5.94ns 29.7ns 0.0839 0 0 538 B
master RunOnMethodBegin netcoreapp3.1 1.13μs 3.71ns 14.4ns 0.00768 0 0 576 B
#2598 RunOnMethodBegin net472 1.29μs 5.13ns 18.5ns 0.0844 0 0 538 B
#2598 RunOnMethodBegin netcoreapp3.1 1.16μs 4.54ns 23.1ns 0.00799 0 0 576 B

Copy link
Collaborator

@gleocadie gleocadie left a comment

Choose a reason for hiding this comment

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

LGTM

@zacharycmontoya zacharycmontoya merged commit d0b92ed into master Mar 25, 2022
@zacharycmontoya zacharycmontoya deleted the version-bump-2.5.1 branch March 25, 2022 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants