-
Notifications
You must be signed in to change notification settings - Fork 353
[EFCore] [SqlClient] Remove SetDbStatementFor*
options
#3072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
01239fc
bbad944
b800f6a
971b22b
55281a5
a286c53
081058c
53777b5
93abee1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#nullable enable |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
#nullable enable | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.Enrich.get -> System.Action<System.Diagnostics.Activity!, string!, object!>? | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.Enrich.set -> void | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.Filter.get -> System.Func<object!, bool>? | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.Filter.set -> void | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.RecordException.get -> bool | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.RecordException.set -> void | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.SetDbQueryParameters.get -> bool | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.SetDbQueryParameters.set -> void | ||
Comment on lines
9
to
10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, but I missed the PR this was introduced in. The db.query.parameter.* attribute is not stable and still considered in development. This means it could be renamed or perhaps even removed altogether. Because of this, I do not think we should expose this configuration publicly in prep for the stable release. I'd be ok gating it behind an experimental environment variable or something. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch. Issue created. |
||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.SetDbStatementForText.get -> bool | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.SetDbStatementForText.set -> void | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.SqlClientTraceInstrumentationOptions() -> void | ||
OpenTelemetry.Metrics.SqlClientMeterProviderBuilderExtensions | ||
OpenTelemetry.Trace.TracerProviderBuilderExtensions | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#nullable enable |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#nullable enable | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.Enrich.get -> System.Action<System.Diagnostics.Activity!, string!, object!>? | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.Enrich.set -> void | ||
Kielek marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.Filter.get -> System.Func<object!, bool>? | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.Filter.set -> void | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.RecordException.get -> bool | ||
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.RecordException.set -> void |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,14 @@ | |
listener. | ||
([#3041](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3041)) | ||
|
||
* The `SetDbStatementForText` property has been removed. Behaviors related to this | ||
|
||
option are now always enabled. | ||
([#3072](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3072)) | ||
|
||
* The `Enrich`, `Filter` and `RecordException` properties has been removed from | ||
martincostello marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
martincostello marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
target frameworks where they were non-functional. | ||
([#3072](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/3072)) | ||
|
||
## 1.12.0-beta.2 | ||
|
||
Released 2025-Jul-15 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.