- Breaking change: The same API is now exposed for
net462andnetstandard2.0targets.SetDbStatementhas been removed. UseSetDbStatementForTextto capture command text and stored procedure names on .NET Framework. Note:Enrich,Filter,RecordException, andSetDbStatementForStoredProcedureoptions are NOT supported on .NET Framework. (#3900)
Released 2022-Nov-07
Released 2022-Oct-17
- Use
Activity.StatusandActivity.StatusDescriptionproperties instead ofOpenTelemetry.Trace.StatusandOpenTelemetry.Trace.Status.Descriptionrespectively to set activity status. (#3118) (#3751) - Add support for Filter option for non .NET Framework Targets (#3743)
Released 2022-Sep-29
Released 2022-Aug-18
Released 2022-Aug-02
- Update the
ActivitySource.Namefrom "OpenTelemetry.SqlClient" to "OpenTelemetry.Instrumentation.SqlClient". (#3435)
Released 2022-Jun-03
Released 2022-Apr-15
- Removes .NET Framework 4.6.1. The minimum .NET Framework version supported is .NET 4.6.2. (#3190)
Released 2022-Apr-12
Released 2022-Mar-30
Released 2022-Mar-04
Released 2022-Feb-02
Released 2021-Oct-08
- Removes .NET Framework 4.5.2 support. The minimum .NET Framework version supported is .NET 4.6.1. (#2138)
Released 2021-Jul-12
Released 2021-Jun-25
Released 2021-Jun-09
Released 2021-Apr-23
- Instrumentation modified to depend only on the API.
- Activities are now created with the
db.systemattribute set for usage during sampling. (#1979)
Released 2021-Mar-19
Released 2021-Jan-29
- Microsoft.Data.SqlClient v2.0.0 and higher is now properly instrumented on .NET Framework. (#1599)
- SqlClientInstrumentationOptions API changes:
SetStoredProcedureCommandNameandSetTextCommandContenthave been renamed toSetDbStatementForStoredProcedureandSetDbStatementForText. They are now only available on .NET Core. On .NET Framework they are replaced by a singleSetDbStatementproperty. - On .NET Framework, "db.statement_type" attribute is no longer set for activities created by the instrumentation.
- New setting on SqlClientInstrumentationOptions on .NET Core:
RecordExceptioncan be set to instruct the instrumentation to record SqlExceptions as Activity events. (#1592)
Released 2020-Nov-17
- SqlInstrumentation sets ActivitySource to activities created outside ActivitySource. (#1515)
Released 2020-Nov-5
Released 2020-Oct-16
- Instrumentation no longer store raw objects like
objectin Activity.CustomProperty. To enrich activity, use the Enrich action on the instrumentation. (#1261) - Span Status is populated as per new spec (#1313)
Released 2020-Sep-15
Released 2020-08-28
- .NET Core SqlClient instrumentation will now add the raw Command object to the Activity it creates (#1099)
- Renamed from
AddSqlClientDependencyInstrumentationtoAddSqlClientInstrumentation
Released 2020-07-24
- First beta release
Released 2020-07-23
- Initial release