[ASM] Added missing appsec.waf.request telemetry metric tags#8113
[ASM] Added missing appsec.waf.request telemetry metric tags#8113daniel-romano-DD merged 1 commit intomasterfrom
appsec.waf.request telemetry metric tags#8113Conversation
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (8113) and master. ✅ No regressions detected - check the details below Full Metrics ComparisonFakeDbCommand
HttpMessageHandler
Comparison explanationExecution-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 highlighted in **red**. The following thresholds were used for comparing the execution times:
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). Duration chartsFakeDbCommand (.NET Framework 4.8)gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8113) - mean (68ms) : 67, 70
master - mean (68ms) : 67, 70
section Bailout
This PR (8113) - mean (72ms) : 71, 73
master - mean (72ms) : 71, 73
section CallTarget+Inlining+NGEN
This PR (8113) - mean (1,037ms) : 954, 1120
master - mean (1,022ms) : 978, 1066
FakeDbCommand (.NET Core 3.1)gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8113) - mean (106ms) : 103, 109
master - mean (106ms) : 103, 109
section Bailout
This PR (8113) - mean (107ms) : 105, 108
master - mean (107ms) : 106, 108
section CallTarget+Inlining+NGEN
This PR (8113) - mean (747ms) : 688, 806
master - mean (742ms) : 691, 793
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8113) - mean (93ms) : 91, 95
master - mean (93ms) : 91, 96
section Bailout
This PR (8113) - mean (94ms) : 93, 95
master - mean (94ms) : 93, 95
section CallTarget+Inlining+NGEN
This PR (8113) - mean (722ms) : 688, 755
master - mean (723ms) : 694, 752
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8113) - mean (92ms) : 90, 94
master - mean (92ms) : 90, 94
section Bailout
This PR (8113) - mean (93ms) : 92, 95
master - mean (93ms) : 92, 94
section CallTarget+Inlining+NGEN
This PR (8113) - mean (640ms) : 626, 654
master - mean (640ms) : 623, 657
HttpMessageHandler (.NET Framework 4.8)gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8113) - mean (195ms) : 190, 199
master - mean (195ms) : 191, 198
section Bailout
This PR (8113) - mean (198ms) : 195, 200
master - mean (198ms) : 195, 202
section CallTarget+Inlining+NGEN
This PR (8113) - mean (1,150ms) : 1083, 1217
master - mean (1,148ms) : 1090, 1205
HttpMessageHandler (.NET Core 3.1)gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8113) - mean (279ms) : 273, 285
master - mean (278ms) : 272, 284
section Bailout
This PR (8113) - mean (279ms) : 275, 282
master - mean (278ms) : 274, 282
section CallTarget+Inlining+NGEN
This PR (8113) - mean (942ms) : 905, 978
master - mean (940ms) : 904, 976
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8113) - mean (272ms) : 265, 279
master - mean (270ms) : 266, 274
section Bailout
This PR (8113) - mean (271ms) : 267, 274
master - mean (270ms) : 266, 273
section CallTarget+Inlining+NGEN
This PR (8113) - mean (932ms) : 887, 977
master - mean (929ms) : 872, 986
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8113) - mean (270ms) : 264, 277
master - mean (270ms) : 265, 275
section Bailout
This PR (8113) - mean (270ms) : 267, 273
master - mean (270ms) : 266, 275
section CallTarget+Inlining+NGEN
This PR (8113) - mean (841ms) : 819, 862
master - mean (839ms) : 817, 861
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BenchmarksBenchmark execution time: 2026-01-29 07:54:41 Comparing candidate commit 602a22e in PR branch Found 13 performance improvements and 12 performance regressions! Performance is the same for 157 metrics, 10 unstable metrics. scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0
scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1
scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1
scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472
scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1
scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net6.0
scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472
scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0
scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472
scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0
scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1
scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1
scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1
scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net6.0
scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark netcoreapp3.1
scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0
scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0
scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net6.0
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d44109170e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
tracer/src/Datadog.Trace/AppSec/Coordinator/SecurityReporter.cs
Outdated
Show resolved
Hide resolved
Fix test mock Fixed tests Fix condition
d441091 to
602a22e
Compare
e-n-0
left a comment
There was a problem hiding this comment.
LGTM
Be sure it passes new system tests correctly!
appsec.waf.request telemetry metric tags
Summary of changes
Added missing tags to appsec.waf.requests metric as stated here
Reason for change
Implementation details
Test coverage
Enabled and passed related system tests
Other details