Skip to content

fix(appsec): catch correctly BlockingException aggregated in ExceptionGroup #14250

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

Merged

Conversation

florentinl
Copy link
Contributor

@florentinl florentinl commented Aug 7, 2025

Description

When an Appsec BlockingException is raised within a fastapi middleware, it can be aggregated and nested in a BaseExceptionGroup multiple levels deep. The behaviour occurs when using http middlewares.

Checklist

  • PR author has checked that all the criteria below are met
  • The PR description includes an overview of the change
  • The PR description articulates the motivation for the change
  • The change includes tests OR the PR description describes a testing strategy
  • The PR description notes risks associated with the change, if any
  • Newly-added code is easy to change
  • The change follows the library release note guidelines
  • The change includes or references documentation updates if necessary
  • Backport labels are set (if applicable)

Reviewer Checklist

  • Reviewer has checked that all the criteria below are met
  • Title is accurate
  • All changes are related to the pull request's stated goal
  • Avoids breaking API changes
  • Testing strategy adequately addresses listed risks
  • Newly-added code is easy to change
  • Release note makes sense to a user of the library
  • If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment
  • Backport labels are set in a manner that is consistent with the release branch maintenance policy

Copy link
Contributor

github-actions bot commented Aug 7, 2025

CODEOWNERS have been resolved as:

releasenotes/notes/asgi-exception-group-catching-5d5132b367b01f4b.yaml  @DataDog/apm-python
ddtrace/contrib/internal/asgi/middleware.py                             @DataDog/apm-core-python @DataDog/apm-idm-python
ddtrace/internal/_exceptions.py                                         @DataDog/asm-python
tests/appsec/contrib_appsec/fastapi_app/app.py                          @DataDog/asm-python

@florentinl florentinl force-pushed the florentinl/fix-fastapi-blocking-exception-catching branch from 485ec85 to c154938 Compare August 7, 2025 12:39
@florentinl florentinl added the ASM Application Security Monitoring label Aug 7, 2025
@florentinl florentinl marked this pull request as ready for review August 7, 2025 12:55
@florentinl florentinl requested review from a team as code owners August 7, 2025 12:55
@florentinl florentinl enabled auto-merge (squash) August 7, 2025 12:55
Copy link
Contributor

github-actions bot commented Aug 7, 2025

Bootstrap import analysis

Comparison of import times between this PR and base.

Summary

The average import time from this PR is: 278 ± 3 ms.

The average import time from base is: 279 ± 3 ms.

The import time difference between this PR and base is: -0.9 ± 0.2 ms.

Import time breakdown

The following import paths have shrunk:

ddtrace.auto 1.936 ms (0.70%)
ddtrace.bootstrap.sitecustomize 1.260 ms (0.45%)
ddtrace.bootstrap.preload 1.260 ms (0.45%)
ddtrace.internal.remoteconfig.client 0.632 ms (0.23%)
ddtrace 0.676 ms (0.24%)
ddtrace.internal._unpatched 0.026 ms (0.01%)
json 0.026 ms (0.01%)
json.decoder 0.026 ms (0.01%)
re 0.026 ms (0.01%)
enum 0.026 ms (0.01%)
types 0.026 ms (0.01%)

@florentinl florentinl disabled auto-merge August 7, 2025 13:24
@pr-commenter
Copy link

pr-commenter bot commented Aug 7, 2025

Performance SLOs

Candidate: florentinl/fix-fastapi-blocking-exception-catching (c1bdc04)

🔵 No Baseline Data (24 suites)
🔵 coreapiscenario - 12/12 (2 unstable)

🔵 No baseline data available for this suite

⚠️ context_with_data_listeners

Time: ⚠️ 13.862µs (SLO: <20.000µs 📉 -30.7%)

Memory: ✅ 31.182MB (SLO: <33.000MB -5.5%)


✅ context_with_data_no_listeners

Time: ✅ 3.766µs (SLO: <10.000µs 📉 -62.3%)

Memory: ✅ 31.084MB (SLO: <33.000MB -5.8%)


⚠️ context_with_data_only_all_listeners

Time: ⚠️ 13.829µs (SLO: <20.000µs 📉 -30.9%)

Memory: ✅ 31.123MB (SLO: <33.000MB -5.7%)


✅ get_item_exists

Time: ✅ 0.629µs (SLO: <10.000µs 📉 -93.7%)

Memory: ✅ 31.123MB (SLO: <33.000MB -5.7%)


✅ get_item_missing

Time: ✅ 0.685µs (SLO: <10.000µs 📉 -93.1%)

Memory: ✅ 31.143MB (SLO: <33.000MB -5.6%)


✅ set_item

Time: ✅ 24.722µs (SLO: <30.000µs 📉 -17.6%)

Memory: ✅ 31.103MB (SLO: <33.000MB -5.7%)


🔵 djangosimple - 22/22

🔵 No baseline data available for this suite

✅ appsec

Time: ✅ 21.251ms (SLO: <22.300ms -4.7%)

Memory: ✅ 63.895MB (SLO: <65.500MB -2.5%)


✅ exception-replay-enabled

Time: ✅ 1.374ms (SLO: <1.450ms -5.3%)

Memory: ✅ 63.657MB (SLO: <65.500MB -2.8%)


✅ iast

Time: ✅ 21.266ms (SLO: <22.250ms -4.4%)

Memory: ✅ 63.911MB (SLO: <65.500MB -2.4%)


✅ profiler

Time: ✅ 15.304ms (SLO: <16.550ms -7.5%)

Memory: ✅ 51.530MB (SLO: <53.000MB -2.8%)


✅ span-code-origin

Time: ✅ 26.916ms (SLO: <28.200ms -4.6%)

Memory: ✅ 66.906MB (SLO: <68.000MB 🟡 -1.6%)


✅ tracer

Time: ✅ 21.313ms (SLO: <22.700ms -6.1%)

Memory: ✅ 63.896MB (SLO: <65.500MB -2.4%)


✅ tracer-and-profiler

Time: ✅ 23.281ms (SLO: <24.900ms -6.5%)

Memory: ✅ 65.093MB (SLO: <67.000MB -2.8%)


✅ tracer-no-caches

Time: ✅ 18.873ms (SLO: <19.650ms -4.0%)

Memory: ✅ 63.878MB (SLO: <65.500MB -2.5%)


✅ tracer-no-databases

Time: ✅ 19.143ms (SLO: <20.100ms -4.8%)

Memory: ✅ 63.855MB (SLO: <65.500MB -2.5%)


✅ tracer-no-middleware

Time: ✅ 21.086ms (SLO: <22.500ms -6.3%)

Memory: ✅ 63.990MB (SLO: <65.500MB -2.3%)


✅ tracer-no-templates

Time: ✅ 21.035ms (SLO: <22.250ms -5.5%)

Memory: ✅ 63.900MB (SLO: <65.500MB -2.4%)


🔵 errortrackingdjangosimple - 6/6

🔵 No baseline data available for this suite

✅ errortracking-enabled-all

Time: ✅ 18.520ms (SLO: <19.850ms -6.7%)

Memory: ✅ 63.868MB (SLO: <65.500MB -2.5%)


✅ errortracking-enabled-user

Time: ✅ 18.559ms (SLO: <19.400ms -4.3%)

Memory: ✅ 63.882MB (SLO: <65.500MB -2.5%)


✅ tracer-enabled

Time: ✅ 18.652ms (SLO: <19.450ms -4.1%)

Memory: ✅ 63.866MB (SLO: <65.500MB -2.5%)


🔵 errortrackingflasksqli - 6/6

🔵 No baseline data available for this suite

✅ errortracking-enabled-all

Time: ✅ 2.128ms (SLO: <2.300ms -7.5%)

Memory: ✅ 51.764MB (SLO: <53.000MB -2.3%)


✅ errortracking-enabled-user

Time: ✅ 2.131ms (SLO: <2.250ms -5.3%)

Memory: ✅ 51.697MB (SLO: <53.000MB -2.5%)


✅ tracer-enabled

Time: ✅ 2.139ms (SLO: <2.300ms -7.0%)

Memory: ✅ 51.430MB (SLO: <53.000MB -3.0%)


🔵 flasksimple - 14/14

🔵 No baseline data available for this suite

✅ appsec-get

Time: ✅ 4.607ms (SLO: <4.750ms -3.0%)

Memory: ✅ 62.580MB (SLO: <64.000MB -2.2%)


✅ appsec-post

Time: ✅ 6.652ms (SLO: <6.750ms 🟡 -1.4%)

Memory: ✅ 62.580MB (SLO: <64.000MB -2.2%)


✅ appsec-telemetry

Time: ✅ 4.619ms (SLO: <4.750ms -2.8%)

Memory: ✅ 62.600MB (SLO: <64.000MB -2.2%)


✅ debugger

Time: ✅ 1.855ms (SLO: <2.000ms -7.2%)

Memory: ✅ 44.269MB (SLO: <45.000MB 🟡 -1.6%)


✅ iast-get

Time: ✅ 1.858ms (SLO: <2.000ms -7.1%)

Memory: ✅ 46.557MB (SLO: <49.000MB -5.0%)


✅ profiler

Time: ✅ 1.922ms (SLO: <2.100ms -8.5%)

Memory: ✅ 43.857MB (SLO: <44.000MB 🟡 -0.3%)


✅ tracer

Time: ✅ 3.390ms (SLO: <3.650ms -7.1%)

Memory: ✅ 51.740MB (SLO: <53.000MB -2.4%)


🔵 flasksqli - 6/6

🔵 No baseline data available for this suite

✅ appsec-enabled

Time: ✅ 3.990ms (SLO: <4.200ms -5.0%)

Memory: ✅ 62.825MB (SLO: <66.000MB -4.8%)


✅ iast-enabled

Time: ✅ 2.563ms (SLO: <2.800ms -8.5%)

Memory: ✅ 57.100MB (SLO: <58.000MB 🟡 -1.6%)


✅ tracer-enabled

Time: ✅ 2.110ms (SLO: <2.250ms -6.2%)

Memory: ✅ 51.818MB (SLO: <53.000MB -2.2%)


🔵 httppropagationextract - 60/60

🔵 No baseline data available for this suite

✅ all_styles_all_headers

Time: ✅ 82.781µs (SLO: <100.000µs 📉 -17.2%)

Memory: ✅ 31.103MB (SLO: <33.000MB -5.7%)


✅ b3_headers

Time: ✅ 14.372µs (SLO: <20.000µs 📉 -28.1%)

Memory: ✅ 31.202MB (SLO: <33.000MB -5.4%)


✅ b3_single_headers

Time: ✅ 13.408µs (SLO: <20.000µs 📉 -33.0%)

Memory: ✅ 31.182MB (SLO: <33.000MB -5.5%)


✅ datadog_tracecontext_tracestate_not_propagated_on_trace_id_no_match

Time: ✅ 65.615µs (SLO: <80.000µs 📉 -18.0%)

Memory: ✅ 31.202MB (SLO: <33.000MB -5.4%)


✅ datadog_tracecontext_tracestate_propagated_on_trace_id_match

Time: ✅ 68.097µs (SLO: <80.000µs 📉 -14.9%)

Memory: ✅ 31.123MB (SLO: <33.000MB -5.7%)


✅ empty_headers

Time: ✅ 1.583µs (SLO: <10.000µs 📉 -84.2%)

Memory: ✅ 31.084MB (SLO: <33.000MB -5.8%)


✅ full_t_id_datadog_headers

Time: ✅ 24.124µs (SLO: <30.000µs 📉 -19.6%)

Memory: ✅ 31.182MB (SLO: <33.000MB -5.5%)


✅ invalid_priority_header

Time: ✅ 6.479µs (SLO: <10.000µs 📉 -35.2%)

Memory: ✅ 30.907MB (SLO: <33.000MB -6.3%)


✅ invalid_span_id_header

Time: ✅ 6.501µs (SLO: <10.000µs 📉 -35.0%)

Memory: ✅ 31.162MB (SLO: <33.000MB -5.6%)


✅ invalid_tags_header

Time: ✅ 6.581µs (SLO: <10.000µs 📉 -34.2%)

Memory: ✅ 31.143MB (SLO: <33.000MB -5.6%)


✅ invalid_trace_id_header

Time: ✅ 6.528µs (SLO: <10.000µs 📉 -34.7%)

Memory: ✅ 31.202MB (SLO: <33.000MB -5.4%)


✅ large_header_no_matches

Time: ✅ 27.508µs (SLO: <30.000µs -8.3%)

Memory: ✅ 30.926MB (SLO: <33.000MB -6.3%)


✅ large_valid_headers_all

Time: ✅ 28.521µs (SLO: <40.000µs 📉 -28.7%)

Memory: ✅ 31.162MB (SLO: <33.000MB -5.6%)


✅ medium_header_no_matches

Time: ✅ 9.809µs (SLO: <20.000µs 📉 -51.0%)

Memory: ✅ 30.926MB (SLO: <33.000MB -6.3%)


✅ medium_valid_headers_all

Time: ✅ 11.237µs (SLO: <20.000µs 📉 -43.8%)

Memory: ✅ 31.103MB (SLO: <33.000MB -5.7%)


✅ none_propagation_style

Time: ✅ 1.706µs (SLO: <10.000µs 📉 -82.9%)

Memory: ✅ 31.221MB (SLO: <33.000MB -5.4%)


✅ tracecontext_headers

Time: ✅ 34.642µs (SLO: <40.000µs 📉 -13.4%)

Memory: ✅ 31.202MB (SLO: <33.000MB -5.4%)


✅ valid_headers_all

Time: ✅ 6.515µs (SLO: <10.000µs 📉 -34.8%)

Memory: ✅ 31.162MB (SLO: <33.000MB -5.6%)


✅ valid_headers_basic

Time: ✅ 6.061µs (SLO: <10.000µs 📉 -39.4%)

Memory: ✅ 31.162MB (SLO: <33.000MB -5.6%)


✅ wsgi_empty_headers

Time: ✅ 1.601µs (SLO: <10.000µs 📉 -84.0%)

Memory: ✅ 31.123MB (SLO: <33.000MB -5.7%)


✅ wsgi_invalid_priority_header

Time: ✅ 6.593µs (SLO: <10.000µs 📉 -34.1%)

Memory: ✅ 31.123MB (SLO: <33.000MB -5.7%)


✅ wsgi_invalid_span_id_header

Time: ✅ 1.606µs (SLO: <10.000µs 📉 -83.9%)

Memory: ✅ 31.123MB (SLO: <33.000MB -5.7%)


✅ wsgi_invalid_tags_header

Time: ✅ 6.570µs (SLO: <10.000µs 📉 -34.3%)

Memory: ✅ 31.182MB (SLO: <33.000MB -5.5%)


✅ wsgi_invalid_trace_id_header

Time: ✅ 6.560µs (SLO: <10.000µs 📉 -34.4%)

Memory: ✅ 31.182MB (SLO: <33.000MB -5.5%)


✅ wsgi_large_header_no_matches

Time: ✅ 28.810µs (SLO: <40.000µs 📉 -28.0%)

Memory: ✅ 31.202MB (SLO: <33.000MB -5.4%)


✅ wsgi_large_valid_headers_all

Time: ✅ 29.958µs (SLO: <40.000µs 📉 -25.1%)

Memory: ✅ 31.182MB (SLO: <33.000MB -5.5%)


✅ wsgi_medium_header_no_matches

Time: ✅ 10.095µs (SLO: <20.000µs 📉 -49.5%)

Memory: ✅ 31.182MB (SLO: <33.000MB -5.5%)


✅ wsgi_medium_valid_headers_all

Time: ✅ 11.534µs (SLO: <20.000µs 📉 -42.3%)

Memory: ✅ 31.162MB (SLO: <33.000MB -5.6%)


✅ wsgi_valid_headers_all

Time: ✅ 6.545µs (SLO: <10.000µs 📉 -34.6%)

Memory: ✅ 31.064MB (SLO: <33.000MB -5.9%)


✅ wsgi_valid_headers_basic

Time: ✅ 6.120µs (SLO: <10.000µs 📉 -38.8%)

Memory: ✅ 31.084MB (SLO: <33.000MB -5.8%)


🔵 httppropagationinject - 16/16

🔵 No baseline data available for this suite

✅ ids_only

Time: ✅ 22.154µs (SLO: <30.000µs 📉 -26.2%)

Memory: ✅ 30.769MB (SLO: <33.000MB -6.8%)


✅ with_all

Time: ✅ 34.647µs (SLO: <40.000µs 📉 -13.4%)

Memory: ✅ 30.769MB (SLO: <33.000MB -6.8%)


✅ with_dd_origin

Time: ✅ 28.383µs (SLO: <30.000µs -5.4%)

Memory: ✅ 30.828MB (SLO: <33.000MB -6.6%)


✅ with_priority_and_origin

Time: ✅ 28.836µs (SLO: <40.000µs 📉 -27.9%)

Memory: ✅ 30.828MB (SLO: <33.000MB -6.6%)


✅ with_sampling_priority

Time: ✅ 21.758µs (SLO: <30.000µs 📉 -27.5%)

Memory: ✅ 30.769MB (SLO: <33.000MB -6.8%)


✅ with_tags

Time: ✅ 30.140µs (SLO: <40.000µs 📉 -24.6%)

Memory: ✅ 30.749MB (SLO: <33.000MB -6.8%)


✅ with_tags_invalid

Time: ✅ 33.540µs (SLO: <40.000µs 📉 -16.1%)

Memory: ✅ 30.848MB (SLO: <33.000MB -6.5%)


✅ with_tags_max_size

Time: ✅ 30.869µs (SLO: <40.000µs 📉 -22.8%)

Memory: ✅ 30.808MB (SLO: <33.000MB -6.6%)


🔵 iast_aspects - 40/40

🔵 No baseline data available for this suite

✅ re_expand_aspect

Time: ✅ 33.195µs (SLO: <40.000µs 📉 -17.0%)

Memory: ✅ 36.687MB (SLO: <38.500MB -4.7%)


✅ re_expand_noaspect

Time: ✅ 30.076µs (SLO: <40.000µs 📉 -24.8%)

Memory: ✅ 36.648MB (SLO: <38.500MB -4.8%)


✅ re_findall_aspect

Time: ✅ 3.707µs (SLO: <10.000µs 📉 -62.9%)

Memory: ✅ 36.667MB (SLO: <38.500MB -4.8%)


✅ re_findall_noaspect

Time: ✅ 1.422µs (SLO: <10.000µs 📉 -85.8%)

Memory: ✅ 36.608MB (SLO: <38.500MB -4.9%)


✅ re_finditer_aspect

Time: ✅ 5.149µs (SLO: <10.000µs 📉 -48.5%)

Memory: ✅ 36.589MB (SLO: <38.500MB -5.0%)


✅ re_finditer_noaspect

Time: ✅ 1.407µs (SLO: <10.000µs 📉 -85.9%)

Memory: ✅ 36.628MB (SLO: <38.500MB -4.9%)


✅ re_fullmatch_aspect

Time: ✅ 3.480µs (SLO: <10.000µs 📉 -65.2%)

Memory: ✅ 36.667MB (SLO: <38.500MB -4.8%)


✅ re_fullmatch_noaspect

Time: ✅ 1.311µs (SLO: <10.000µs 📉 -86.9%)

Memory: ✅ 36.628MB (SLO: <38.500MB -4.9%)


✅ re_group_aspect

Time: ✅ 3.477µs (SLO: <10.000µs 📉 -65.2%)

Memory: ✅ 36.608MB (SLO: <38.500MB -4.9%)


✅ re_group_noaspect

Time: ✅ 1.614µs (SLO: <10.000µs 📉 -83.9%)

Memory: ✅ 36.667MB (SLO: <38.500MB -4.8%)


✅ re_groups_aspect

Time: ✅ 3.573µs (SLO: <10.000µs 📉 -64.3%)

Memory: ✅ 36.628MB (SLO: <38.500MB -4.9%)


✅ re_groups_noaspect

Time: ✅ 1.684µs (SLO: <10.000µs 📉 -83.2%)

Memory: ✅ 36.687MB (SLO: <38.500MB -4.7%)


✅ re_match_aspect

Time: ✅ 3.467µs (SLO: <10.000µs 📉 -65.3%)

Memory: ✅ 36.608MB (SLO: <38.500MB -4.9%)


✅ re_match_noaspect

Time: ✅ 1.293µs (SLO: <10.000µs 📉 -87.1%)

Memory: ✅ 36.589MB (SLO: <38.500MB -5.0%)


✅ re_search_aspect

Time: ✅ 3.327µs (SLO: <10.000µs 📉 -66.7%)

Memory: ✅ 36.628MB (SLO: <38.500MB -4.9%)


✅ re_search_noaspect

Time: ✅ 1.205µs (SLO: <10.000µs 📉 -88.0%)

Memory: ✅ 36.608MB (SLO: <38.500MB -4.9%)


✅ re_sub_aspect

Time: ✅ 4.703µs (SLO: <10.000µs 📉 -53.0%)

Memory: ✅ 36.628MB (SLO: <38.500MB -4.9%)


✅ re_sub_noaspect

Time: ✅ 1.518µs (SLO: <10.000µs 📉 -84.8%)

Memory: ✅ 36.608MB (SLO: <38.500MB -4.9%)


✅ re_subn_aspect

Time: ✅ 4.917µs (SLO: <10.000µs 📉 -50.8%)

Memory: ✅ 36.648MB (SLO: <38.500MB -4.8%)


✅ re_subn_noaspect

Time: ✅ 1.613µs (SLO: <10.000µs 📉 -83.9%)

Memory: ✅ 36.687MB (SLO: <38.500MB -4.7%)


🔵 iastaspects - 118/118

🔵 No baseline data available for this suite

✅ add_aspect

Time: ✅ 0.324µs (SLO: <10.000µs 📉 -96.8%)

Memory: ✅ 36.589MB (SLO: <39.000MB -6.2%)


✅ add_inplace_aspect

Time: ✅ 0.325µs (SLO: <10.000µs 📉 -96.7%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ add_inplace_noaspect

Time: ✅ 0.320µs (SLO: <10.000µs 📉 -96.8%)

Memory: ✅ 36.667MB (SLO: <39.000MB -6.0%)


✅ add_noaspect

Time: ✅ 0.277µs (SLO: <10.000µs 📉 -97.2%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ bytearray_aspect

Time: ✅ 1.879µs (SLO: <10.000µs 📉 -81.2%)

Memory: ✅ 36.687MB (SLO: <39.000MB -5.9%)


✅ bytearray_extend_aspect

Time: ✅ 1.377µs (SLO: <10.000µs 📉 -86.2%)

Memory: ✅ 36.687MB (SLO: <39.000MB -5.9%)


✅ bytearray_extend_noaspect

Time: ✅ 0.610µs (SLO: <10.000µs 📉 -93.9%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ bytearray_noaspect

Time: ✅ 0.478µs (SLO: <10.000µs 📉 -95.2%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ bytes_aspect

Time: ✅ 1.888µs (SLO: <10.000µs 📉 -81.1%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ bytes_noaspect

Time: ✅ 0.490µs (SLO: <10.000µs 📉 -95.1%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ bytesio_aspect

Time: ✅ 1.928µs (SLO: <10.000µs 📉 -80.7%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ bytesio_noaspect

Time: ✅ 0.502µs (SLO: <10.000µs 📉 -95.0%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ capitalize_aspect

Time: ✅ 0.734µs (SLO: <10.000µs 📉 -92.7%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ capitalize_noaspect

Time: ✅ 0.433µs (SLO: <10.000µs 📉 -95.7%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ casefold_aspect

Time: ✅ 0.735µs (SLO: <10.000µs 📉 -92.7%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ casefold_noaspect

Time: ✅ 0.366µs (SLO: <10.000µs 📉 -96.3%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ decode_aspect

Time: ✅ 0.723µs (SLO: <10.000µs 📉 -92.8%)

Memory: ✅ 36.687MB (SLO: <39.000MB -5.9%)


✅ decode_noaspect

Time: ✅ 0.415µs (SLO: <10.000µs 📉 -95.9%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ encode_aspect

Time: ✅ 0.711µs (SLO: <10.000µs 📉 -92.9%)

Memory: ✅ 36.667MB (SLO: <39.000MB -6.0%)


✅ encode_noaspect

Time: ✅ 0.400µs (SLO: <10.000µs 📉 -96.0%)

Memory: ✅ 36.687MB (SLO: <39.000MB -5.9%)


✅ format_aspect

Time: ✅ 3.556µs (SLO: <10.000µs 📉 -64.4%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ format_map_aspect

Time: ✅ 4.050µs (SLO: <10.000µs 📉 -59.5%)

Memory: ✅ 36.667MB (SLO: <39.000MB -6.0%)


✅ format_map_noaspect

Time: ✅ 0.772µs (SLO: <10.000µs 📉 -92.3%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ format_noaspect

Time: ✅ 0.591µs (SLO: <10.000µs 📉 -94.1%)

Memory: ✅ 36.667MB (SLO: <39.000MB -6.0%)


✅ index_aspect

Time: ✅ 0.341µs (SLO: <10.000µs 📉 -96.6%)

Memory: ✅ 36.589MB (SLO: <39.000MB -6.2%)


✅ index_noaspect

Time: ✅ 0.278µs (SLO: <10.000µs 📉 -97.2%)

Memory: ✅ 36.707MB (SLO: <39.000MB -5.9%)


✅ join_aspect

Time: ✅ 1.236µs (SLO: <10.000µs 📉 -87.6%)

Memory: ✅ 36.707MB (SLO: <39.000MB -5.9%)


✅ join_noaspect

Time: ✅ 0.494µs (SLO: <10.000µs 📉 -95.1%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ ljust_aspect

Time: ✅ 10.189µs (SLO: <20.000µs 📉 -49.1%)

Memory: ✅ 36.766MB (SLO: <39.000MB -5.7%)


✅ ljust_noaspect

Time: ✅ 0.402µs (SLO: <10.000µs 📉 -96.0%)

Memory: ✅ 36.667MB (SLO: <39.000MB -6.0%)


✅ lower_aspect

Time: ✅ 2.270µs (SLO: <10.000µs 📉 -77.3%)

Memory: ✅ 36.667MB (SLO: <39.000MB -6.0%)


✅ lower_noaspect

Time: ✅ 0.367µs (SLO: <10.000µs 📉 -96.3%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ lstrip_aspect

Time: ✅ 10.281µs (SLO: <20.000µs 📉 -48.6%)

Memory: ✅ 36.785MB (SLO: <39.000MB -5.7%)


✅ lstrip_noaspect

Time: ✅ 0.383µs (SLO: <10.000µs 📉 -96.2%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ modulo_aspect

Time: ✅ 0.598µs (SLO: <10.000µs 📉 -94.0%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ modulo_aspect_for_bytearray_bytearray

Time: ✅ 1.248µs (SLO: <10.000µs 📉 -87.5%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ modulo_aspect_for_bytes

Time: ✅ 0.756µs (SLO: <10.000µs 📉 -92.4%)

Memory: ✅ 36.667MB (SLO: <39.000MB -6.0%)


✅ modulo_aspect_for_bytes_bytearray

Time: ✅ 0.990µs (SLO: <10.000µs 📉 -90.1%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ modulo_noaspect

Time: ✅ 0.627µs (SLO: <10.000µs 📉 -93.7%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ replace_aspect

Time: ✅ 4.738µs (SLO: <10.000µs 📉 -52.6%)

Memory: ✅ 36.667MB (SLO: <39.000MB -6.0%)


✅ replace_noaspect

Time: ✅ 0.460µs (SLO: <10.000µs 📉 -95.4%)

Memory: ✅ 36.589MB (SLO: <39.000MB -6.2%)


✅ repr_aspect

Time: ✅ 0.905µs (SLO: <10.000µs 📉 -90.9%)

Memory: ✅ 36.746MB (SLO: <39.000MB -5.8%)


✅ repr_noaspect

Time: ✅ 0.422µs (SLO: <10.000µs 📉 -95.8%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ rstrip_aspect

Time: ✅ 10.184µs (SLO: <20.000µs 📉 -49.1%)

Memory: ✅ 36.805MB (SLO: <39.000MB -5.6%)


✅ rstrip_noaspect

Time: ✅ 0.379µs (SLO: <10.000µs 📉 -96.2%)

Memory: ✅ 36.667MB (SLO: <39.000MB -6.0%)


✅ slice_aspect

Time: ✅ 0.477µs (SLO: <10.000µs 📉 -95.2%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ slice_noaspect

Time: ✅ 0.448µs (SLO: <10.000µs 📉 -95.5%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ stringio_aspect

Time: ✅ 2.207µs (SLO: <10.000µs 📉 -77.9%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ stringio_noaspect

Time: ✅ 0.713µs (SLO: <10.000µs 📉 -92.9%)

Memory: ✅ 36.687MB (SLO: <39.000MB -5.9%)


✅ strip_aspect

Time: ✅ 10.255µs (SLO: <20.000µs 📉 -48.7%)

Memory: ✅ 36.766MB (SLO: <39.000MB -5.7%)


✅ strip_noaspect

Time: ✅ 0.384µs (SLO: <10.000µs 📉 -96.2%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ swapcase_aspect

Time: ✅ 2.483µs (SLO: <10.000µs 📉 -75.2%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ swapcase_noaspect

Time: ✅ 0.533µs (SLO: <10.000µs 📉 -94.7%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ title_aspect

Time: ✅ 2.428µs (SLO: <10.000µs 📉 -75.7%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ title_noaspect

Time: ✅ 0.500µs (SLO: <10.000µs 📉 -95.0%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ translate_aspect

Time: ✅ 3.572µs (SLO: <10.000µs 📉 -64.3%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ translate_noaspect

Time: ✅ 1.040µs (SLO: <10.000µs 📉 -89.6%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ upper_aspect

Time: ✅ 2.344µs (SLO: <10.000µs 📉 -76.6%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ upper_noaspect

Time: ✅ 0.368µs (SLO: <10.000µs 📉 -96.3%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


🔵 iastaspectsospath - 24/24

🔵 No baseline data available for this suite

✅ ospathbasename_aspect

Time: ✅ 4.195µs (SLO: <10.000µs 📉 -58.0%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ ospathbasename_noaspect

Time: ✅ 1.084µs (SLO: <10.000µs 📉 -89.2%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ ospathjoin_aspect

Time: ✅ 6.924µs (SLO: <10.000µs 📉 -30.8%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ ospathjoin_noaspect

Time: ✅ 2.279µs (SLO: <10.000µs 📉 -77.2%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ ospathnormcase_aspect

Time: ✅ 3.376µs (SLO: <10.000µs 📉 -66.2%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ ospathnormcase_noaspect

Time: ✅ 0.569µs (SLO: <10.000µs 📉 -94.3%)

Memory: ✅ 36.667MB (SLO: <39.000MB -6.0%)


✅ ospathsplit_aspect

Time: ✅ 4.796µs (SLO: <10.000µs 📉 -52.0%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ ospathsplit_noaspect

Time: ✅ 1.591µs (SLO: <10.000µs 📉 -84.1%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ ospathsplitdrive_aspect

Time: ✅ 3.628µs (SLO: <10.000µs 📉 -63.7%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ ospathsplitdrive_noaspect

Time: ✅ 0.692µs (SLO: <10.000µs 📉 -93.1%)

Memory: ✅ 36.687MB (SLO: <39.000MB -5.9%)


✅ ospathsplitext_aspect

Time: ✅ 4.563µs (SLO: <10.000µs 📉 -54.4%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ ospathsplitext_noaspect

Time: ✅ 1.383µs (SLO: <10.000µs 📉 -86.2%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


🔵 iastaspectssplit - 12/12

🔵 No baseline data available for this suite

✅ rsplit_aspect

Time: ✅ 1.540µs (SLO: <10.000µs 📉 -84.6%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ rsplit_noaspect

Time: ✅ 0.580µs (SLO: <10.000µs 📉 -94.2%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ split_aspect

Time: ✅ 1.490µs (SLO: <10.000µs 📉 -85.1%)

Memory: ✅ 36.608MB (SLO: <39.000MB -6.1%)


✅ split_noaspect

Time: ✅ 0.576µs (SLO: <10.000µs 📉 -94.2%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ splitlines_aspect

Time: ✅ 1.449µs (SLO: <10.000µs 📉 -85.5%)

Memory: ✅ 36.648MB (SLO: <39.000MB -6.0%)


✅ splitlines_noaspect

Time: ✅ 0.582µs (SLO: <10.000µs 📉 -94.2%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


🔵 iastpropagation - 8/8

🔵 No baseline data available for this suite

✅ no-propagation

Time: ✅ 49.304µs (SLO: <60.000µs 📉 -17.8%)

Memory: ✅ 36.667MB (SLO: <39.000MB -6.0%)


✅ propagation_enabled

Time: ✅ 145.386µs (SLO: <160.000µs -9.1%)

Memory: ✅ 36.628MB (SLO: <39.000MB -6.1%)


✅ propagation_enabled_100

Time: ✅ 1.589ms (SLO: <1.800ms 📉 -11.7%)

Memory: ✅ 36.726MB (SLO: <39.000MB -5.8%)


✅ propagation_enabled_1000

Time: ✅ 28.870ms (SLO: <30.550ms -5.5%)

Memory: ✅ 36.589MB (SLO: <39.000MB -6.2%)


🔵 otelsdkspan - 24/24

🔵 No baseline data available for this suite

✅ add-event

Time: ✅ 40.347ms (SLO: <42.000ms -3.9%)

Memory: ✅ 33.482MB (SLO: <39.000MB 📉 -14.1%)


✅ add-link

Time: ✅ 36.252ms (SLO: <38.550ms -6.0%)

Memory: ✅ 33.522MB (SLO: <39.000MB 📉 -14.0%)


✅ add-metrics

Time: ✅ 220.951ms (SLO: <232.000ms -4.8%)

Memory: ✅ 33.502MB (SLO: <39.000MB 📉 -14.1%)


✅ add-tags

Time: ✅ 211.370ms (SLO: <221.600ms -4.6%)

Memory: ✅ 33.463MB (SLO: <39.000MB 📉 -14.2%)


✅ get-context

Time: ✅ 29.152ms (SLO: <31.300ms -6.9%)

Memory: ✅ 33.581MB (SLO: <39.000MB 📉 -13.9%)


✅ is-recording

Time: ✅ 29.187ms (SLO: <31.000ms -5.8%)

Memory: ✅ 33.522MB (SLO: <39.000MB 📉 -14.0%)


✅ record-exception

Time: ✅ 62.853ms (SLO: <65.850ms -4.6%)

Memory: ✅ 33.463MB (SLO: <39.000MB 📉 -14.2%)


✅ set-status

Time: ✅ 31.642ms (SLO: <34.150ms -7.3%)

Memory: ✅ 33.561MB (SLO: <39.000MB 📉 -13.9%)


✅ start

Time: ✅ 28.744ms (SLO: <30.150ms -4.7%)

Memory: ✅ 33.502MB (SLO: <39.000MB 📉 -14.1%)


✅ start-finish

Time: ✅ 33.783ms (SLO: <35.350ms -4.4%)

Memory: ✅ 33.581MB (SLO: <39.000MB 📉 -13.9%)


✅ start-finish-telemetry

Time: ✅ 34.430ms (SLO: <35.450ms -2.9%)

Memory: ✅ 33.600MB (SLO: <39.000MB 📉 -13.8%)


✅ update-name

Time: ✅ 31.084ms (SLO: <33.400ms -6.9%)

Memory: ✅ 33.482MB (SLO: <39.000MB 📉 -14.1%)


🔵 otelspan - 22/22

🔵 No baseline data available for this suite

✅ add-event

Time: ✅ 44.996ms (SLO: <47.150ms -4.6%)

Memory: ✅ 44.006MB (SLO: <46.500MB -5.4%)


✅ add-metrics

Time: ✅ 319.136ms (SLO: <344.800ms -7.4%)

Memory: ✅ 559.047MB (SLO: <562.000MB 🟡 -0.5%)


✅ add-tags

Time: ✅ 291.519ms (SLO: <314.000ms -7.2%)

Memory: ✅ 560.468MB (SLO: <563.500MB 🟡 -0.5%)


✅ get-context

Time: ✅ 87.224ms (SLO: <92.350ms -5.6%)

Memory: ✅ 39.257MB (SLO: <46.500MB 📉 -15.6%)


✅ is-recording

Time: ✅ 42.756ms (SLO: <44.500ms -3.9%)

Memory: ✅ 43.565MB (SLO: <46.500MB -6.3%)


✅ record-exception

Time: ✅ 61.590ms (SLO: <67.650ms -9.0%)

Memory: ✅ 39.552MB (SLO: <46.500MB 📉 -14.9%)


✅ set-status

Time: ✅ 48.769ms (SLO: <50.400ms -3.2%)

Memory: ✅ 43.411MB (SLO: <46.500MB -6.6%)


✅ start

Time: ✅ 42.056ms (SLO: <43.450ms -3.2%)

Memory: ✅ 43.479MB (SLO: <46.500MB -6.5%)


✅ start-finish

Time: ✅ 84.809ms (SLO: <88.000ms -3.6%)

Memory: ✅ 33.246MB (SLO: <46.500MB 📉 -28.5%)


✅ start-finish-telemetry

Time: ✅ 86.850ms (SLO: <89.000ms -2.4%)

Memory: ✅ 33.305MB (SLO: <46.500MB 📉 -28.4%)


✅ update-name

Time: ✅ 44.196ms (SLO: <45.150ms -2.1%)

Memory: ✅ 43.732MB (SLO: <46.500MB -6.0%)


🔵 packagespackageforrootmodulemapping - 4/4

🔵 No baseline data available for this suite

✅ cache_off

Time: ✅ 341.940ms (SLO: <354.300ms -3.5%)

Memory: ✅ 36.931MB (SLO: <38.000MB -2.8%)


✅ cache_on

Time: ✅ 0.386µs (SLO: <10.000µs 📉 -96.1%)

Memory: ✅ 35.542MB (SLO: <38.000MB -6.5%)


🔵 packagesupdateimporteddependencies - 24/24

🔵 No baseline data available for this suite

✅ import_many

Time: ✅ 155.078µs (SLO: <170.000µs -8.8%)

Memory: ✅ 35.844MB (SLO: <38.500MB -6.9%)


✅ import_many_cached

Time: ✅ 121.340µs (SLO: <130.000µs -6.7%)

Memory: ✅ 36.090MB (SLO: <38.500MB -6.3%)


✅ import_many_stdlib

Time: ✅ 1.607ms (SLO: <1.750ms -8.2%)

Memory: ✅ 36.283MB (SLO: <38.500MB -5.8%)


✅ import_many_stdlib_cached

Time: ✅ 0.965ms (SLO: <1.100ms 📉 -12.3%)

Memory: ✅ 35.916MB (SLO: <38.500MB -6.7%)


✅ import_many_unknown

Time: ✅ 827.482µs (SLO: <890.000µs -7.0%)

Memory: ✅ 35.958MB (SLO: <38.500MB -6.6%)


✅ import_many_unknown_cached

Time: ✅ 790.942µs (SLO: <870.000µs -9.1%)

Memory: ✅ 36.186MB (SLO: <38.500MB -6.0%)


✅ import_one

Time: ✅ 19.776µs (SLO: <30.000µs 📉 -34.1%)

Memory: ✅ 35.796MB (SLO: <38.500MB -7.0%)


✅ import_one_cache

Time: ✅ 6.284µs (SLO: <10.000µs 📉 -37.2%)

Memory: ✅ 35.797MB (SLO: <38.500MB -7.0%)


✅ import_one_stdlib

Time: ✅ 18.673µs (SLO: <20.000µs -6.6%)

Memory: ✅ 35.870MB (SLO: <38.500MB -6.8%)


✅ import_one_stdlib_cache

Time: ✅ 6.325µs (SLO: <10.000µs 📉 -36.8%)

Memory: ✅ 36.145MB (SLO: <38.500MB -6.1%)


✅ import_one_unknown

Time: ✅ 45.711µs (SLO: <50.000µs -8.6%)

Memory: ✅ 35.733MB (SLO: <38.500MB -7.2%)


✅ import_one_unknown_cache

Time: ✅ 6.349µs (SLO: <10.000µs 📉 -36.5%)

Memory: ✅ 36.047MB (SLO: <38.500MB -6.4%)


🔵 ratelimiter - 12/12

🔵 No baseline data available for this suite

✅ defaults

Time: ✅ 2.351µs (SLO: <10.000µs 📉 -76.5%)

Memory: ✅ 30.749MB (SLO: <34.000MB -9.6%)


✅ high_rate_limit

Time: ✅ 2.443µs (SLO: <10.000µs 📉 -75.6%)

Memory: ✅ 30.769MB (SLO: <34.000MB -9.5%)


✅ long_window

Time: ✅ 2.344µs (SLO: <10.000µs 📉 -76.6%)

Memory: ✅ 30.691MB (SLO: <34.000MB -9.7%)


✅ low_rate_limit

Time: ✅ 2.364µs (SLO: <10.000µs 📉 -76.4%)

Memory: ✅ 30.828MB (SLO: <34.000MB -9.3%)


✅ no_rate_limit

Time: ✅ 0.834µs (SLO: <10.000µs 📉 -91.7%)

Memory: ✅ 30.769MB (SLO: <34.000MB -9.5%)


✅ short_window

Time: ✅ 2.511µs (SLO: <10.000µs 📉 -74.9%)

Memory: ✅ 30.749MB (SLO: <34.000MB -9.6%)


🔵 recursivecomputation - 8/8

🔵 No baseline data available for this suite

✅ deep

Time: ✅ 308.333ms (SLO: <320.950ms -3.9%)

Memory: ✅ 31.890MB (SLO: <34.000MB -6.2%)


✅ deep-profiled

Time: ✅ 327.294ms (SLO: <359.150ms -8.9%)

Memory: ✅ 34.387MB (SLO: <39.000MB 📉 -11.8%)


✅ medium

Time: ✅ 7.041ms (SLO: <7.400ms -4.9%)

Memory: ✅ 31.103MB (SLO: <34.000MB -8.5%)


✅ shallow

Time: ✅ 0.959ms (SLO: <1.050ms -8.7%)

Memory: ✅ 31.103MB (SLO: <34.000MB -8.5%)


🔵 samplingrules - 8/8

🔵 No baseline data available for this suite

✅ average_match

Time: ✅ 275.436µs (SLO: <290.000µs -5.0%)

Memory: ✅ 30.769MB (SLO: <34.000MB -9.5%)


✅ high_match

Time: ✅ 444.881µs (SLO: <480.000µs -7.3%)

Memory: ✅ 30.710MB (SLO: <34.000MB -9.7%)


✅ low_match

Time: ✅ 110.346µs (SLO: <120.000µs -8.0%)

Memory: ✅ 433.493MB (SLO: <450.000MB -3.7%)


✅ very_low_match

Time: ✅ 7.692ms (SLO: <8.500ms -9.5%)

Memory: ✅ 56.736MB (SLO: <60.000MB -5.4%)


🔵 sethttpmeta - 32/32

🔵 No baseline data available for this suite

✅ all-disabled

Time: ✅ 12.286µs (SLO: <20.000µs 📉 -38.6%)

Memory: ✅ 31.654MB (SLO: <34.000MB -6.9%)


✅ all-enabled

Time: ✅ 43.043µs (SLO: <50.000µs 📉 -13.9%)

Memory: ✅ 31.733MB (SLO: <34.000MB -6.7%)


✅ collectipvariant_exists

Time: ✅ 42.979µs (SLO: <50.000µs 📉 -14.0%)

Memory: ✅ 31.674MB (SLO: <34.000MB -6.8%)


✅ no-collectipvariant

Time: ✅ 42.935µs (SLO: <50.000µs 📉 -14.1%)

Memory: ✅ 31.575MB (SLO: <34.000MB -7.1%)


✅ no-useragentvariant

Time: ✅ 40.957µs (SLO: <50.000µs 📉 -18.1%)

Memory: ✅ 31.674MB (SLO: <34.000MB -6.8%)


✅ obfuscation-no-query

Time: ✅ 42.718µs (SLO: <50.000µs 📉 -14.6%)

Memory: ✅ 31.615MB (SLO: <34.000MB -7.0%)


✅ obfuscation-regular-case-explicit-query

Time: ✅ 78.901µs (SLO: <90.000µs 📉 -12.3%)

Memory: ✅ 31.713MB (SLO: <34.000MB -6.7%)


✅ obfuscation-regular-case-implicit-query

Time: ✅ 79.553µs (SLO: <90.000µs 📉 -11.6%)

Memory: ✅ 31.654MB (SLO: <34.000MB -6.9%)


✅ obfuscation-send-querystring-disabled

Time: ✅ 157.033µs (SLO: <170.000µs -7.6%)

Memory: ✅ 31.615MB (SLO: <34.000MB -7.0%)


✅ obfuscation-worst-case-explicit-query

Time: ✅ 152.705µs (SLO: <160.000µs -4.6%)

Memory: ✅ 31.674MB (SLO: <34.000MB -6.8%)


✅ obfuscation-worst-case-implicit-query

Time: ✅ 157.654µs (SLO: <170.000µs -7.3%)

Memory: ✅ 31.654MB (SLO: <34.000MB -6.9%)


✅ useragentvariant_exists_1

Time: ✅ 41.782µs (SLO: <50.000µs 📉 -16.4%)

Memory: ✅ 31.615MB (SLO: <34.000MB -7.0%)


✅ useragentvariant_exists_2

Time: ✅ 43.833µs (SLO: <50.000µs 📉 -12.3%)

Memory: ✅ 31.713MB (SLO: <34.000MB -6.7%)


✅ useragentvariant_exists_3

Time: ✅ 42.434µs (SLO: <50.000µs 📉 -15.1%)

Memory: ✅ 31.654MB (SLO: <34.000MB -6.9%)


✅ useragentvariant_not_exists_1

Time: ✅ 41.769µs (SLO: <50.000µs 📉 -16.5%)

Memory: ✅ 31.693MB (SLO: <34.000MB -6.8%)


✅ useragentvariant_not_exists_2

Time: ✅ 41.478µs (SLO: <50.000µs 📉 -17.0%)

Memory: ✅ 31.713MB (SLO: <34.000MB -6.7%)


🔵 span - 26/26

🔵 No baseline data available for this suite

✅ add-event

Time: ✅ 23.946ms (SLO: <26.200ms -8.6%)

Memory: ✅ 50.343MB (SLO: <53.000MB -5.0%)


✅ add-metrics

Time: ✅ 92.528ms (SLO: <98.350ms -5.9%)

Memory: ✅ 614.865MB (SLO: <961.000MB 📉 -36.0%)


✅ add-tags

Time: ✅ 149.853ms (SLO: <168.550ms 📉 -11.1%)

Memory: ✅ 615.860MB (SLO: <962.500MB 📉 -36.0%)


✅ get-context

Time: ✅ 22.515ms (SLO: <23.700ms -5.0%)

Memory: ✅ 49.134MB (SLO: <53.000MB -7.3%)


✅ is-recording

Time: ✅ 22.526ms (SLO: <23.900ms -5.7%)

Memory: ✅ 49.082MB (SLO: <53.000MB -7.4%)


✅ record-exception

Time: ✅ 42.304ms (SLO: <44.500ms -4.9%)

Memory: ✅ 42.316MB (SLO: <53.000MB 📉 -20.2%)


✅ set-status

Time: ✅ 24.251ms (SLO: <26.000ms -6.7%)

Memory: ✅ 49.049MB (SLO: <53.000MB -7.5%)


✅ start

Time: ✅ 22.078ms (SLO: <23.500ms -6.1%)

Memory: ✅ 49.150MB (SLO: <53.000MB -7.3%)


✅ start-finish

Time: ✅ 54.301ms (SLO: <55.500ms -2.2%)

Memory: ✅ 31.182MB (SLO: <34.000MB -8.3%)


✅ start-finish-telemetry

Time: ✅ 55.476ms (SLO: <58.300ms -4.8%)

Memory: ✅ 31.202MB (SLO: <34.000MB -8.2%)


✅ start-finish-traceid128

Time: ✅ 58.435ms (SLO: <60.050ms -2.7%)

Memory: ✅ 31.123MB (SLO: <34.000MB -8.5%)


✅ start-traceid128

Time: ✅ 22.400ms (SLO: <24.600ms -8.9%)

Memory: ✅ 49.180MB (SLO: <53.000MB -7.2%)


✅ update-name

Time: ✅ 22.998ms (SLO: <24.100ms -4.6%)

Memory: ✅ 49.833MB (SLO: <53.000MB -6.0%)


🔵 telemetryaddmetric - 30/30

🔵 No baseline data available for this suite

✅ 1-count-metric-1-times

Time: ✅ 3.208µs (SLO: <10.000µs 📉 -67.9%)

Memory: ✅ 31.162MB (SLO: <34.000MB -8.3%)


✅ 1-count-metrics-100-times

Time: ✅ 217.871µs (SLO: <240.000µs -9.2%)

Memory: ✅ 31.103MB (SLO: <34.000MB -8.5%)


✅ 1-distribution-metric-1-times

Time: ✅ 3.010µs (SLO: <10.000µs 📉 -69.9%)

Memory: ✅ 31.084MB (SLO: <34.000MB -8.6%)


✅ 1-distribution-metrics-100-times

Time: ✅ 196.242µs (SLO: <210.000µs -6.6%)

Memory: ✅ 31.162MB (SLO: <34.000MB -8.3%)


✅ 1-gauge-metric-1-times

Time: ✅ 2.161µs (SLO: <10.000µs 📉 -78.4%)

Memory: ✅ 31.123MB (SLO: <34.000MB -8.5%)


✅ 1-gauge-metrics-100-times

Time: ✅ 123.667µs (SLO: <140.000µs 📉 -11.7%)

Memory: ✅ 31.162MB (SLO: <34.000MB -8.3%)


✅ 1-rate-metric-1-times

Time: ✅ 3.203µs (SLO: <10.000µs 📉 -68.0%)

Memory: ✅ 31.162MB (SLO: <34.000MB -8.3%)


✅ 1-rate-metrics-100-times

Time: ✅ 224.652µs (SLO: <230.000µs -2.3%)

Memory: ✅ 31.143MB (SLO: <34.000MB -8.4%)


✅ 100-count-metrics-100-times

Time: ✅ 22.135ms (SLO: <22.500ms 🟡 -1.6%)

Memory: ✅ 31.103MB (SLO: <34.000MB -8.5%)


✅ 100-distribution-metrics-100-times

Time: ✅ 2.029ms (SLO: <2.100ms -3.4%)

Memory: ✅ 31.123MB (SLO: <34.000MB -8.5%)


✅ 100-gauge-metrics-100-times

Time: ✅ 1.285ms (SLO: <1.400ms -8.2%)

Memory: ✅ 31.084MB (SLO: <34.000MB -8.6%)


✅ 100-rate-metrics-100-times

Time: ✅ 2.253ms (SLO: <2.400ms -6.1%)

Memory: ✅ 31.123MB (SLO: <34.000MB -8.5%)


✅ flush-1-metric

Time: ✅ 4.663µs (SLO: <10.000µs 📉 -53.4%)

Memory: ✅ 31.143MB (SLO: <34.000MB -8.4%)


✅ flush-100-metrics

Time: ✅ 180.749µs (SLO: <200.000µs -9.6%)

Memory: ✅ 31.084MB (SLO: <34.000MB -8.6%)


✅ flush-1000-metrics

Time: ✅ 2.218ms (SLO: <2.350ms -5.6%)

Memory: ✅ 32.342MB (SLO: <34.000MB -4.9%)


🔵 tracer - 6/6

🔵 No baseline data available for this suite

✅ large

Time: ✅ 30.019ms (SLO: <32.950ms -8.9%)

Memory: ✅ 32.283MB (SLO: <34.000MB -5.0%)


✅ medium

Time: ✅ 2.946ms (SLO: <3.200ms -7.9%)

Memory: ✅ 30.710MB (SLO: <34.000MB -9.7%)


✅ small

Time: ✅ 337.188µs (SLO: <370.000µs -8.9%)

Memory: ✅ 30.730MB (SLO: <34.000MB -9.6%)

@florentinl florentinl marked this pull request as draft August 7, 2025 14:20
@florentinl florentinl force-pushed the florentinl/fix-fastapi-blocking-exception-catching branch 2 times, most recently from 1445a34 to a09c4ee Compare August 7, 2025 14:58
@florentinl florentinl marked this pull request as ready for review August 8, 2025 06:56
@florentinl florentinl requested a review from a team as a code owner August 8, 2025 06:56
@florentinl florentinl force-pushed the florentinl/fix-fastapi-blocking-exception-catching branch 5 times, most recently from 87f7011 to f6eb297 Compare August 8, 2025 07:21
@florentinl florentinl marked this pull request as draft August 8, 2025 07:36
@florentinl florentinl force-pushed the florentinl/fix-fastapi-blocking-exception-catching branch from f6eb297 to 91e0596 Compare August 8, 2025 07:45
@florentinl florentinl marked this pull request as ready for review August 8, 2025 09:01
@florentinl florentinl marked this pull request as draft August 8, 2025 09:38
@florentinl florentinl marked this pull request as ready for review August 8, 2025 09:38
@florentinl florentinl force-pushed the florentinl/fix-fastapi-blocking-exception-catching branch from 91e0596 to c1bdc04 Compare August 8, 2025 11:28
@christophe-papazian christophe-papazian merged commit b74e3da into main Aug 11, 2025
879 of 880 checks passed
@christophe-papazian christophe-papazian deleted the florentinl/fix-fastapi-blocking-exception-catching branch August 11, 2025 12:30
dd-octo-sts bot pushed a commit that referenced this pull request Aug 11, 2025
…nGroup (#14250)

## Description

When an Appsec `BlockingException` is raised within a fastapi
middleware, it can be aggregated and nested in a `BaseExceptionGroup`
multiple levels deep. The behaviour occurs when using http middlewares.

## Checklist
- [x] PR author has checked that all the criteria below are met
- The PR description includes an overview of the change
- The PR description articulates the motivation for the change
- The change includes tests OR the PR description describes a testing
strategy
- The PR description notes risks associated with the change, if any
- Newly-added code is easy to change
- The change follows the [library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [x] Reviewer has checked that all the criteria below are met
- Title is accurate
- All changes are related to the pull request's stated goal
- Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- Testing strategy adequately addresses listed risks
- Newly-added code is easy to change
- Release note makes sense to a user of the library
- If necessary, author has acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment
- Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)

(cherry picked from commit b74e3da)
brettlangdon pushed a commit that referenced this pull request Aug 11, 2025
…nGroup (#14250)

## Description

When an Appsec `BlockingException` is raised within a fastapi
middleware, it can be aggregated and nested in a `BaseExceptionGroup`
multiple levels deep. The behaviour occurs when using http middlewares.

## Checklist
- [x] PR author has checked that all the criteria below are met
- The PR description includes an overview of the change
- The PR description articulates the motivation for the change
- The change includes tests OR the PR description describes a testing
strategy
- The PR description notes risks associated with the change, if any
- Newly-added code is easy to change
- The change follows the [library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [x] Reviewer has checked that all the criteria below are met 
- Title is accurate
- All changes are related to the pull request's stated goal
- Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- Testing strategy adequately addresses listed risks
- Newly-added code is easy to change
- Release note makes sense to a user of the library
- If necessary, author has acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment
- Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASM Application Security Monitoring backport 3.11
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants