1 instantiation of SqlClientTraceInstrumentationOptions
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (1)
42
this.options = options ?? new
SqlClientTraceInstrumentationOptions
();
9 references to SqlClientTraceInstrumentationOptions
Aspire.Microsoft.EntityFrameworkCore.SqlServer (9)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Implementation\SqlClientDiagnosticListener.cs (2)
37
private readonly
SqlClientTraceInstrumentationOptions
options;
39
public SqlClientDiagnosticListener(string sourceName,
SqlClientTraceInstrumentationOptions
options)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientInstrumentation.cs (1)
49
SqlClientTraceInstrumentationOptions
options = null)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\TracerProviderBuilderExtensions.cs (6)
36
/// <param name="configureSqlClientTraceInstrumentationOptions">Callback action for configuring <see cref="
SqlClientTraceInstrumentationOptions
"/>.</param>
43
Action<
SqlClientTraceInstrumentationOptions
> configureSqlClientTraceInstrumentationOptions)
51
/// <param name="configureSqlClientTraceInstrumentationOptions">Callback action for configuring <see cref="
SqlClientTraceInstrumentationOptions
"/>.</param>
60
Action<
SqlClientTraceInstrumentationOptions
> configureSqlClientTraceInstrumentationOptions)
73
var
sqlOptions = sp.GetRequiredService<IOptionsMonitor<
SqlClientTraceInstrumentationOptions
>>().Get(name);