Skip to content

Commit 9d91ffc

Browse files
authored
Fix #2410 ensure we skip instrumentation of System.Web (#2411)
1 parent 01708e3 commit 9d91ffc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • src/profiler/elastic_apm_profiler/src/profiler

src/profiler/elastic_apm_profiler/src/profiler/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub mod sig;
5858
mod startup_hook;
5959
pub mod types;
6060

61-
const SKIP_ASSEMBLY_PREFIXES: [&str; 22] = [
61+
const SKIP_ASSEMBLY_PREFIXES: [&str; 23] = [
6262
"Elastic.Apm",
6363
"MessagePack",
6464
"Microsoft.AI",
@@ -80,6 +80,7 @@ const SKIP_ASSEMBLY_PREFIXES: [&str; 22] = [
8080
"System.Text",
8181
"System.Threading",
8282
"System.Xml",
83+
"System.Web",
8384
"Newtonsoft",
8485
];
8586
const SKIP_ASSEMBLIES: [&str; 7] = [
@@ -89,7 +90,7 @@ const SKIP_ASSEMBLIES: [&str; 7] = [
8990
"Microsoft.AspNetCore.Razor.Language",
9091
"Microsoft.AspNetCore.Mvc.RazorPages",
9192
"Anonymously Hosted DynamicMethods Assembly",
92-
"ISymWrapper",
93+
"ISymWrapper"
9394
];
9495

9596
/// The git hash defined on build

0 commit comments

Comments
 (0)