Skip to content
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

Release 1.4.0 #3265

Merged
merged 3 commits into from
Feb 12, 2024
Merged

Release 1.4.0 #3265

merged 3 commits into from
Feb 12, 2024

Conversation

Kielek
Copy link
Contributor

@Kielek Kielek commented Feb 12, 2024

Why & What

Release 1.4.0

Added

  • Support for OTEL_DOTNET_AUTO_SQLCLIENT_SET_DBSTATEMENT_FOR_TEXT
    and OTEL_DOTNET_AUTO_ENTITYFRAMEWORKCORE_SET_DBSTATEMENT_FOR_TEXT
    environment variables which controls whether the db.statement
    attribute is set for SQL statements for SQL Client and Entity Framework Core
    instrumentations. The default value for both environment variables is false
    due to the risk of leaking sensitive information in the collected database queries.

Changed

  • Changed supported method parameters for plugins
    • from OpenTelemetry.Instrumentation.GrpcNetClient.GrpcClientInstrumentationOptions
      to OpenTelemetry.Instrumentation.GrpcNetClient.GrpcClientTraceInstrumentationOptions,
    • from OpenTelemetry.Instrumentation.SqlClient.SqlClientInstrumentationOptions
      to OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.

Dependency updates

  • Following packages updated
    • OpenTelemetry.ResourceDetectors.Azure from 1.0.0-beta.4 to 1.0.0-beta.5,
    • OpenTelemetry.ResourceDetectors.Container from 1.0.0-beta.5 to 1.0.0-beta.6.
    • OpenTelemetry.Instrumentation.Http from 1.7.0 to 1.7.1,
    • OpenTelemetry.Instrumentation.SqlClient from 1.6.0-beta.3 to 1.7.0-beta.1,
    • OpenTelemetry.Instrumentation.Wcf from 1.0.0-rc.14 to 1.0.0-rc.15,
  • .NET only, following packages updated
    • OpenTelemetry.Instrumentation.AspNetCore from 1.7.0 to 1.7.1,
    • OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.0.0-beta.9 to 1.0.0-beta.10,
    • OpenTelemetry.Instrumentation.GrpcNetClient from 1.6.0-beta.3 to 1.7.0-beta.1.
  • .NET Framework only, following packages updated
    • OpenTelemetry.Instrumentation.AspNet from 1.7.0-beta.1 to 1.7.0-beta.2.

Removed

  • Container resource detector will be not executed on .NET Framework.
    It was not giving any results before changes.

Fixed

  • Fix ASP.NET Core traces instrumentation for .NET7. It is now using native
    support by Microsoft.AspNetCore instead of OpenTelemetry.Instrumentation.AspNetCore.

Tests

  • CI
  • MacOS with Linux Containers - passed by @RassK
  • Windows with Linux Containers - passed after changes from 032f02e

Checklist

  • CHANGELOG.md is updated.
  • Documentation is updated.
  • New features are covered by tests.

@Kielek Kielek requested a review from a team February 12, 2024 10:21
@Kielek Kielek merged commit c756eb4 into open-telemetry:main Feb 12, 2024
32 checks passed
@Kielek Kielek deleted the release-1.4.0 branch February 12, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants