1 write to options
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (1)
42this.options = options ?? new SqlClientTraceInstrumentationOptions();
6 references to options
Aspire.Microsoft.EntityFrameworkCore.SqlServer (6)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (6)
80if (this.options.Filter?.Invoke(command) == false) 106this.options.AddConnectionLevelDetailsToActivity((string)dataSource, activity); 113if (this.options.SetDbStatementForStoredProcedure) 121if (this.options.SetDbStatementForText) 135this.options.Enrich?.Invoke(activity, "OnCustom", command); 185if (this.options.RecordException)