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