Skip to content

Commit

Permalink
Fix #2410 ensure we skip instrumentation of System.Web (#2411)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz authored Aug 12, 2024
1 parent 01708e3 commit 9d91ffc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/profiler/elastic_apm_profiler/src/profiler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub mod sig;
mod startup_hook;
pub mod types;

const SKIP_ASSEMBLY_PREFIXES: [&str; 22] = [
const SKIP_ASSEMBLY_PREFIXES: [&str; 23] = [
"Elastic.Apm",
"MessagePack",
"Microsoft.AI",
Expand All @@ -80,6 +80,7 @@ const SKIP_ASSEMBLY_PREFIXES: [&str; 22] = [
"System.Text",
"System.Threading",
"System.Xml",
"System.Web",
"Newtonsoft",
];
const SKIP_ASSEMBLIES: [&str; 7] = [
Expand All @@ -89,7 +90,7 @@ const SKIP_ASSEMBLIES: [&str; 7] = [
"Microsoft.AspNetCore.Razor.Language",
"Microsoft.AspNetCore.Mvc.RazorPages",
"Anonymously Hosted DynamicMethods Assembly",
"ISymWrapper",
"ISymWrapper"
];

/// The git hash defined on build
Expand Down

0 comments on commit 9d91ffc

Please sign in to comment.