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

Add Google Protobuf Instrumentation #6166

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Add Google Protobuf Instrumentation #6166

wants to merge 13 commits into from

Conversation

vandonr
Copy link
Contributor

@vandonr vandonr commented Oct 18, 2024

Summary of changes

Adds a new instrumentation for Google Protobuf (not https://github.com/protobuf-net/protobuf-net)
The instrumentation doesn't create any new spans, we are just adding tags on existing ones. The main one being a tag containing the full protobuf schema as an OpenAPI json. Since extracting the schema is costly, we only do it once every 30 seconds (hardcoded for now).

Reason for change

On request from DSM team, as an equivalent of its java counterpart: https://github.com/DataDog/dd-trace-java/tree/master/dd-java-agent/instrumentation/protobuf

Implementation details

  • There is a cache <schema name -> schema json>, but I wanted to control the size, so I ended up repurposing the code that had been written for DbConnectionCache, where it's using a cache for small cardinality, but if there are too many different values, it stops caching.
  • I wrote a rate limiter rather than reusing one because to avoid forcing the sampling decision on every span, I needed one where I can peek the rate limit decision without "consuming" it.

Test coverage

Added a sample app that serializes and deserializes a protobuf message. Spans are created manually since this integration doesn't create one.

Other details

@datadog-ddstaging
Copy link

datadog-ddstaging bot commented Oct 18, 2024

Datadog Report

Branch report: vandonr/proto
Commit report: 3236d38
Test service: dd-trace-dotnet

✅ 0 Failed, 558462 Passed, 4621 Skipped, 46h 26m 49.25s Total Time

@andrewlock
Copy link
Member

andrewlock commented Oct 18, 2024

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing the following branches/commits:

Execution-time benchmarks measure the whole time it takes to execute a program. And are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are shown in red. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.6.2) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (6166) - mean (69ms)  : 66, 71
     .   : milestone, 69,
    master - mean (69ms)  : 65, 73
     .   : milestone, 69,

    section CallTarget+Inlining+NGEN
    This PR (6166) - mean (982ms)  : 961, 1003
     .   : milestone, 982,
    master - mean (979ms)  : 952, 1006
     .   : milestone, 979,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (6166) - mean (108ms)  : 105, 110
     .   : milestone, 108,
    master - mean (107ms)  : 104, 110
     .   : milestone, 107,

    section CallTarget+Inlining+NGEN
    This PR (6166) - mean (679ms)  : 663, 694
     .   : milestone, 679,
    master - mean (678ms)  : 663, 693
     .   : milestone, 678,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET 6) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (6166) - mean (91ms)  : 90, 93
     .   : milestone, 91,
    master - mean (91ms)  : 89, 93
     .   : milestone, 91,

    section CallTarget+Inlining+NGEN
    This PR (6166) - mean (630ms)  : 613, 647
     .   : milestone, 630,
    master - mean (633ms)  : 616, 650
     .   : milestone, 633,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (6166) - mean (191ms)  : 186, 196
     .   : milestone, 191,
    master - mean (189ms)  : 185, 193
     .   : milestone, 189,

    section CallTarget+Inlining+NGEN
    This PR (6166) - mean (1,096ms)  : 1062, 1129
     .   : milestone, 1096,
    master - mean (1,091ms)  : 1058, 1124
     .   : milestone, 1091,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (6166) - mean (276ms)  : 271, 281
     .   : milestone, 276,
    master - mean (275ms)  : 270, 279
     .   : milestone, 275,

    section CallTarget+Inlining+NGEN
    This PR (6166) - mean (870ms)  : 837, 902
     .   : milestone, 870,
    master - mean (868ms)  : 838, 898
     .   : milestone, 868,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (6166) - mean (265ms)  : 260, 269
     .   : milestone, 265,
    master - mean (264ms)  : 259, 270
     .   : milestone, 264,

    section CallTarget+Inlining+NGEN
    This PR (6166) - mean (845ms)  : 808, 883
     .   : milestone, 845,
    master - mean (846ms)  : 817, 874
     .   : milestone, 846,

Loading

@andrewlock
Copy link
Member

andrewlock commented Oct 18, 2024

Throughput/Crank Report ⚡

Throughput results for AspNetCoreSimpleController comparing the following branches/commits:

Cases where throughput results for the PR are worse than latest master (5% drop or greater), results are shown in red.

Note that these results are based on a single point-in-time result for each branch. For full results, see one of the many, many dashboards!

gantt
    title Throughput Linux x64 (Total requests) 
    dateFormat  X
    axisFormat %s
    section Baseline
    This PR (6166) (11.119M)   : 0, 11119281
    master (11.080M)   : 0, 11079759
    benchmarks/2.9.0 (11.033M)   : 0, 11032866

    section Automatic
    This PR (6166) (7.310M)   : 0, 7310019
    master (7.154M)   : 0, 7154253
    benchmarks/2.9.0 (7.786M)   : 0, 7785853

    section Trace stats
    master (7.512M)   : 0, 7512246

    section Manual
    master (11.035M)   : 0, 11035311

    section Manual + Automatic
    This PR (6166) (6.699M)   : 0, 6698601
    master (6.611M)   : 0, 6611049

    section DD_TRACE_ENABLED=0
    master (10.155M)   : 0, 10155447

Loading
gantt
    title Throughput Linux arm64 (Total requests) 
    dateFormat  X
    axisFormat %s
    section Baseline
    This PR (6166) (9.620M)   : 0, 9619604
    master (9.567M)   : 0, 9566967
    benchmarks/2.9.0 (9.495M)   : 0, 9494821

    section Automatic
    This PR (6166) (6.542M)   : 0, 6541592
    master (6.361M)   : 0, 6360592

    section Trace stats
    master (6.540M)   : 0, 6540289

    section Manual
    master (9.643M)   : 0, 9642857

    section Manual + Automatic
    This PR (6166) (5.903M)   : 0, 5902855
    master (5.877M)   : 0, 5877320

    section DD_TRACE_ENABLED=0
    master (8.928M)   : 0, 8928120

Loading
gantt
    title Throughput Windows x64 (Total requests) 
    dateFormat  X
    axisFormat %s
    section Baseline
    This PR (6166) (9.937M)   : 0, 9937361
    master (9.916M)   : 0, 9915888
    benchmarks/2.9.0 (10.020M)   : 0, 10019592

    section Automatic
    This PR (6166) (6.436M)   : 0, 6436371
    master (6.337M)   : 0, 6336520
    benchmarks/2.9.0 (7.255M)   : 0, 7255257

    section Trace stats
    master (6.963M)   : 0, 6963468

    section Manual
    master (9.842M)   : 0, 9842464

    section Manual + Automatic
    This PR (6166) (6.123M)   : 0, 6122994
    master (6.172M)   : 0, 6171910

    section DD_TRACE_ENABLED=0
    master (9.319M)   : 0, 9318507

Loading

@andrewlock
Copy link
Member

andrewlock commented Oct 18, 2024

Benchmarks Report for tracer 🐌

Benchmarks for #6166 compared to master:

  • 2 benchmarks are slower, with geometric mean 1.149
  • 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.ActivityBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartStopWithChild net6.0 8.25μs 46.7ns 310ns 0.0177 0.00886 0 5.61 KB
master StartStopWithChild netcoreapp3.1 10.2μs 53.4ns 256ns 0.015 0.00501 0 5.8 KB
master StartStopWithChild net472 16.4μs 36.4ns 141ns 1.03 0.285 0.0813 6.21 KB
#6166 StartStopWithChild net6.0 8.21μs 45.2ns 300ns 0.0162 0.00812 0 5.61 KB
#6166 StartStopWithChild netcoreapp3.1 10.2μs 58.2ns 416ns 0.0207 0.00517 0 5.8 KB
#6166 StartStopWithChild net472 16.3μs 40.1ns 155ns 1.06 0.325 0.0975 6.21 KB
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 491μs 374ns 1.35μs 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 651μs 332ns 1.2μs 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces net472 855μs 579ns 2.17μs 0.422 0 0 3.3 KB
#6166 WriteAndFlushEnrichedTraces net6.0 498μs 143ns 517ns 0 0 0 2.7 KB
#6166 WriteAndFlushEnrichedTraces netcoreapp3.1 653μs 685ns 2.56μs 0 0 0 2.7 KB
#6166 WriteAndFlushEnrichedTraces net472 849μs 683ns 2.65μs 0.422 0 0 3.3 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 net6.0 144μs 819ns 6.07μs 0.14 0 0 14.47 KB
master SendRequest netcoreapp3.1 171μs 999ns 9.27μs 0.171 0 0 17.27 KB
master SendRequest net472 0.00182ns 0.000504ns 0.00189ns 0 0 0 0 b
#6166 SendRequest net6.0 155μs 954ns 9.25μs 0.158 0 0 14.47 KB
#6166 SendRequest netcoreapp3.1 172μs 1.16μs 11.5μs 0.16 0 0 17.27 KB
#6166 SendRequest net472 0.0153ns 0.00239ns 0.00925ns 0 0 0 0 b
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 575μs 3.14μs 19.4μs 0.566 0 0 41.51 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 662μs 3.32μs 16.6μs 0.326 0 0 41.8 KB
master WriteAndFlushEnrichedTraces net472 867μs 2.84μs 10.6μs 8.25 2.6 0.434 53.3 KB
#6166 WriteAndFlushEnrichedTraces net6.0 564μs 3.14μs 19.8μs 0.563 0 0 41.44 KB
#6166 WriteAndFlushEnrichedTraces netcoreapp3.1 660μs 1.73μs 6.25μs 0.324 0 0 41.64 KB
#6166 WriteAndFlushEnrichedTraces net472 827μs 4.21μs 18.8μs 8.36 2.39 0.398 53.3 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 net6.0 1.32μs 1.11ns 4.16ns 0.0145 0 0 1.02 KB
master ExecuteNonQuery netcoreapp3.1 1.81μs 1.66ns 6.41ns 0.0137 0 0 1.02 KB
master ExecuteNonQuery net472 2.05μs 1.96ns 7.07ns 0.156 0.00101 0 987 B
#6166 ExecuteNonQuery net6.0 1.27μs 1.06ns 3.82ns 0.0145 0 0 1.02 KB
#6166 ExecuteNonQuery netcoreapp3.1 1.82μs 2.04ns 7.65ns 0.0135 0 0 1.02 KB
#6166 ExecuteNonQuery net472 2.09μs 1.49ns 5.76ns 0.156 0.00104 0 987 B
Benchmarks.Trace.ElasticsearchBenchmark - Slower ⚠️ Same allocations ✔️

Slower ⚠️ in #6166

Benchmark diff/base Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑net6.0 1.150 1,177.74 1,354.03

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master CallElasticsearch net6.0 1.18μs 0.454ns 1.76ns 0.0136 0 0 976 B
master CallElasticsearch netcoreapp3.1 1.53μs 0.69ns 2.58ns 0.013 0 0 976 B
master CallElasticsearch net472 2.54μs 1.82ns 7.06ns 0.157 0 0 995 B
master CallElasticsearchAsync net6.0 1.25μs 0.747ns 2.89ns 0.0131 0 0 952 B
master CallElasticsearchAsync netcoreapp3.1 1.6μs 1.34ns 5.02ns 0.0136 0 0 1.02 KB
master CallElasticsearchAsync net472 2.63μs 1.55ns 6ns 0.166 0 0 1.05 KB
#6166 CallElasticsearch net6.0 1.35μs 0.766ns 2.97ns 0.0136 0 0 976 B
#6166 CallElasticsearch netcoreapp3.1 1.48μs 0.954ns 3.57ns 0.0128 0 0 976 B
#6166 CallElasticsearch net472 2.49μs 1.83ns 7.09ns 0.157 0 0 995 B
#6166 CallElasticsearchAsync net6.0 1.18μs 0.792ns 2.96ns 0.013 0 0 952 B
#6166 CallElasticsearchAsync netcoreapp3.1 1.69μs 3.11ns 12ns 0.0143 0 0 1.02 KB
#6166 CallElasticsearchAsync net472 2.75μs 1.81ns 7.02ns 0.167 0 0 1.05 KB
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteAsync net6.0 1.24μs 0.389ns 1.46ns 0.0132 0 0 952 B
master ExecuteAsync netcoreapp3.1 1.63μs 0.932ns 3.49ns 0.0131 0 0 952 B
master ExecuteAsync net472 1.79μs 0.583ns 2.26ns 0.145 0 0 915 B
#6166 ExecuteAsync net6.0 1.18μs 3.49ns 13.5ns 0.0134 0 0 952 B
#6166 ExecuteAsync netcoreapp3.1 1.71μs 1.22ns 4.71ns 0.0127 0 0 952 B
#6166 ExecuteAsync net472 1.78μs 0.521ns 2.02ns 0.145 0 0 915 B
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendAsync net6.0 4.34μs 1.23ns 4.43ns 0.0324 0 0 2.31 KB
master SendAsync netcoreapp3.1 5.29μs 4.28ns 16.6ns 0.0371 0 0 2.85 KB
master SendAsync net472 7.48μs 1.35ns 5.24ns 0.495 0 0 3.12 KB
#6166 SendAsync net6.0 4.4μs 1.08ns 3.91ns 0.0331 0 0 2.31 KB
#6166 SendAsync netcoreapp3.1 5.18μs 1.78ns 6.41ns 0.0364 0 0 2.85 KB
#6166 SendAsync net472 7.38μs 1.72ns 6.2ns 0.496 0 0 3.12 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 net6.0 1.59μs 0.988ns 3.7ns 0.023 0 0 1.64 KB
master EnrichedLog netcoreapp3.1 2.26μs 1.77ns 6.61ns 0.0225 0 0 1.64 KB
master EnrichedLog net472 2.62μs 2.25ns 8.71ns 0.25 0 0 1.57 KB
#6166 EnrichedLog net6.0 1.48μs 0.922ns 3.45ns 0.023 0 0 1.64 KB
#6166 EnrichedLog netcoreapp3.1 2.27μs 2.09ns 7.83ns 0.0216 0 0 1.64 KB
#6166 EnrichedLog net472 2.75μs 2.6ns 10.1ns 0.249 0 0 1.57 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 net6.0 116μs 150ns 582ns 0 0 0 4.28 KB
master EnrichedLog netcoreapp3.1 120μs 90.1ns 337ns 0.0602 0 0 4.28 KB
master EnrichedLog net472 150μs 102ns 393ns 0.674 0.225 0 4.46 KB
#6166 EnrichedLog net6.0 117μs 163ns 632ns 0.0578 0 0 4.28 KB
#6166 EnrichedLog netcoreapp3.1 120μs 119ns 445ns 0 0 0 4.28 KB
#6166 EnrichedLog net472 151μs 120ns 463ns 0.683 0.228 0 4.46 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 net6.0 2.99μs 1.1ns 4.28ns 0.03 0 0 2.2 KB
master EnrichedLog netcoreapp3.1 4.1μs 1.98ns 7.4ns 0.0286 0 0 2.2 KB
master EnrichedLog net472 4.87μs 1.25ns 4.85ns 0.32 0 0 2.02 KB
#6166 EnrichedLog net6.0 2.98μs 1.57ns 6.07ns 0.0312 0 0 2.2 KB
#6166 EnrichedLog netcoreapp3.1 4.12μs 8.29ns 31ns 0.0286 0 0 2.2 KB
#6166 EnrichedLog net472 5.11μs 1.39ns 5.37ns 0.32 0 0 2.02 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 net6.0 1.31μs 1.06ns 4.11ns 0.0164 0 0 1.14 KB
master SendReceive netcoreapp3.1 1.86μs 1.15ns 4.47ns 0.0149 0 0 1.14 KB
master SendReceive net472 2.04μs 1.07ns 4.14ns 0.183 0 0 1.16 KB
#6166 SendReceive net6.0 1.39μs 0.968ns 3.75ns 0.0159 0 0 1.14 KB
#6166 SendReceive netcoreapp3.1 1.76μs 1.51ns 5.64ns 0.0151 0 0 1.14 KB
#6166 SendReceive net472 2.1μs 0.546ns 2.04ns 0.183 0 0 1.16 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 net6.0 2.74μs 0.925ns 3.58ns 0.0219 0 0 1.6 KB
master EnrichedLog netcoreapp3.1 4.02μs 1.23ns 4.44ns 0.0219 0 0 1.65 KB
master EnrichedLog net472 4.35μs 3.57ns 13.8ns 0.324 0 0 2.04 KB
#6166 EnrichedLog net6.0 2.74μs 0.838ns 3.25ns 0.0219 0 0 1.6 KB
#6166 EnrichedLog netcoreapp3.1 3.94μs 16.5ns 63.8ns 0.0213 0 0 1.65 KB
#6166 EnrichedLog net472 4.34μs 3.39ns 13.1ns 0.322 0 0 2.04 KB
Benchmarks.Trace.SpanBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartFinishSpan net6.0 408ns 0.249ns 0.964ns 0.00798 0 0 576 B
master StartFinishSpan netcoreapp3.1 550ns 0.262ns 0.979ns 0.00771 0 0 576 B
master StartFinishSpan net472 684ns 0.411ns 1.59ns 0.0916 0 0 578 B
master StartFinishScope net6.0 484ns 0.263ns 1.02ns 0.0097 0 0 696 B
master StartFinishScope netcoreapp3.1 647ns 0.412ns 1.43ns 0.00941 0 0 696 B
master StartFinishScope net472 844ns 1.56ns 6.06ns 0.104 0 0 658 B
#6166 StartFinishSpan net6.0 453ns 0.29ns 1.12ns 0.00815 0 0 576 B
#6166 StartFinishSpan netcoreapp3.1 585ns 0.328ns 1.27ns 0.00788 0 0 576 B
#6166 StartFinishSpan net472 680ns 0.625ns 2.42ns 0.0915 0 0 578 B
#6166 StartFinishScope net6.0 486ns 0.144ns 0.557ns 0.00981 0 0 696 B
#6166 StartFinishScope netcoreapp3.1 719ns 0.472ns 1.83ns 0.00959 0 0 696 B
#6166 StartFinishScope net472 884ns 0.694ns 2.69ns 0.104 0 0 658 B
Benchmarks.Trace.TraceAnnotationsBenchmark - Slower ⚠️ Same allocations ✔️

Slower ⚠️ in #6166

Benchmark diff/base Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 1.148 591.88 679.33

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master RunOnMethodBegin net6.0 592ns 0.304ns 1.18ns 0.00985 0 0 696 B
master RunOnMethodBegin netcoreapp3.1 1.02μs 0.561ns 2.17ns 0.00963 0 0 696 B
master RunOnMethodBegin net472 1.1μs 0.312ns 1.21ns 0.104 0 0 658 B
#6166 RunOnMethodBegin net6.0 679ns 0.158ns 0.568ns 0.00987 0 0 696 B
#6166 RunOnMethodBegin netcoreapp3.1 962ns 2.84ns 11ns 0.00908 0 0 696 B
#6166 RunOnMethodBegin net472 1.16μs 0.552ns 2.14ns 0.104 0 0 658 B

@vandonr vandonr marked this pull request as ready for review December 18, 2024 16:29
@vandonr vandonr requested review from a team as code owners December 18, 2024 16:29
@vandonr vandonr changed the base branch from master to vandonr/vendored December 19, 2024 09:58
@vandonr vandonr added type:bug area:tests unit tests, integration tests area:integrations and removed type:bug area:tests unit tests, integration tests labels Dec 30, 2024
vandonr added a commit that referenced this pull request Jan 14, 2025
## Summary of changes

added the code of Microsoft.OpenApi to the tracer, removed/changed the
parts that require more recent versions of the language/fwk than we
have, and updated generated files.

## Reason for change

It's going to be needed for the protobuf instrumentation in #6166, and
I'm doing it in a separate PR to limit the size of the diff in the
actual change.

## Implementation details

@bouwkast ran the vendoring tool to add the files, since it's not
working on Mac apparently

## Test coverage

## Other details

When looking at the size of artefacts published on the CI, it looks like
this is increasing the size of the dll by ~180KiB

<!-- ⚠️ Note: where possible, please obtain 2 approvals prior to
merging. Unless CODEOWNERS specifies otherwise, for external teams it is
typically best to have one review from a team member, and one review
from apm-dotnet. Trivial changes do not require 2 reviews. -->

---------

Co-authored-by: Steven Bouwkamp <[email protected]>
Base automatically changed from vandonr/vendored to master January 14, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants