File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
src/OpenTelemetry.AutoInstrumentation/Configurations Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ internal InstrumentationOptions(Configuration configuration)
1717 AspNetInstrumentationCaptureRequestHeaders = configuration . ParseHeaders ( ConfigurationKeys . Traces . InstrumentationOptions . AspNetInstrumentationCaptureRequestHeaders , AdditionalTag . CreateHttpRequestCache ) ;
1818 AspNetInstrumentationCaptureResponseHeaders = configuration . ParseHeaders ( ConfigurationKeys . Traces . InstrumentationOptions . AspNetInstrumentationCaptureResponseHeaders , AdditionalTag . CreateHttpResponseCache ) ;
1919 SqlClientNetFxIlRewriteEnabled = configuration . GetBool ( ConfigurationKeys . Traces . InstrumentationOptions . SqlClientNetFxILRewriteEnabled ) ?? false ;
20- NativeMethods . SetSqlClientNetFxILRewriteEnabled ( SqlClientNetFxIlRewriteEnabled ) ;
2120#endif
2221#if NET
2322 AspNetCoreInstrumentationCaptureRequestHeaders = configuration . ParseHeaders ( ConfigurationKeys . Traces . InstrumentationOptions . AspNetCoreInstrumentationCaptureRequestHeaders , AdditionalTag . CreateHttpRequestCache ) ;
@@ -46,7 +45,6 @@ internal InstrumentationOptions(DotNetTraces? instrumentationConfiguration)
4645 if ( instrumentationConfiguration . SqlClient != null )
4746 {
4847 SqlClientNetFxIlRewriteEnabled = instrumentationConfiguration . SqlClient . NetFxIlRewriteEnabled ;
49- NativeMethods . SetSqlClientNetFxILRewriteEnabled ( SqlClientNetFxIlRewriteEnabled ) ;
5048 }
5149#endif
5250#if NET
You can’t perform that action at this time.
0 commit comments