Skip to content

Commit

Permalink
disable automatic AspNet integration for now, users can add HttpModul…
Browse files Browse the repository at this point in the history
…e manually (#281)
  • Loading branch information
lucaspimentel authored Mar 11, 2019
1 parent 12926d1 commit ba2c208
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
19 changes: 0 additions & 19 deletions integrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,6 @@
}
]
},
{
"name": "AspNet",
"method_replacements": [
{
"caller": {},
"target": {
"assembly": "System.Web",
"type": "System.Web.HttpApplication",
"method": "Init"
},
"wrapper": {
"assembly": "Datadog.Trace.ClrProfiler.Managed, Version=0.8.0.0, Culture=neutral, PublicKeyToken=def86d061d0d2eeb",
"type": "Datadog.Trace.ClrProfiler.Integrations.AspNetIntegration",
"method": "Init",
"signature": "00 01 01 1C"
}
}
]
},
{
"name": "AspNetCoreMvc2",
"method_replacements": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public static class AspNetIntegration
/// Calls the underlying Init() For an HttpApplication and traces the request.
/// </summary>
/// <param name="thisObj">The HttpApplication instance ref.</param>
[InterceptMethod(
TargetAssembly = "System.Web",
TargetType = "System.Web.HttpApplication")]
// [InterceptMethod(
// TargetAssembly = "System.Web",
// TargetType = "System.Web.HttpApplication")]
[SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1119:StatementMustNotUseUnnecessaryParenthesis", Justification = "Actually Needed")]
public static void Init(object thisObj)
{
Expand Down

0 comments on commit ba2c208

Please sign in to comment.