OpenTelemetry - CNCF/opentelemetry-dotnet: Release core-1.4.0-rc.1

Name: opentelemetry-dotnet

Owner: OpenTelemetry - CNCF

Release: 1.4.0-rc.1 / 1.0.0-rc9.10

Released: 2022-12-12

License: Apache-2.0

Release Assets:

1.4.0-rc.1

OpenTelemetry

  • Added dependency injection support in the ResourceBuilder class and added support for loading environment variables from IConfiguration for the AddEnvironmentVariableDetector extension (Logs) (#3889)

  • Refactored AddInstrumentation, ConfigureServices and ConfigureBuilder APIs into the OpenTelemetry.Extensions.DependencyInjection package and added the IServiceCollection.AddOpenTelemetry API (#3923)

  • Removed ConfigureResource on OpenTelemetryLoggingOptions (#3999)

OpenTelemetry.Api

  • Updated to System.Diagnostics.DiagnosticSource version 7.0.0.

OpenTelemetry.Exporter.Console

  • Bug fix to prevent ConsoleExporter from failing when exporting an ActivityLink without Tags. (#3932)

OpenTelemetry.Exporter.InMemory

OpenTelemetry.Exporter.Jaeger

OpenTelemetry.Exporter.OpenTelemetryProtocol

  • Fix default values for OTEL_ATTRIBUTE_COUNT_LIMIT, OTEL_ATTRIBUTE_COUNT_LIMIT, OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, OTEL_SPAN_EVENT_COUNT_LIMIT, OTEL_SPAN_LINK_COUNT_LIMIT, OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT, OTEL_LINK_ATTRIBUTE_COUNT_LIMIT. All of them are defaulted to 128. (#3978)

OpenTelemetry.Exporter.OpenTelemetryProtocol.Logs

OpenTelemetry.Exporter.Prometheus.AspNetCore

OpenTelemetry.Exporter.Prometheus.HttpListener

OpenTelemetry.Exporter.Zipkin

OpenTelemetry.Extensions.DependencyInjection

Initial release.

OpenTelemetry.Extensions.Hosting

  • Added the OpenTelemetryBuilder.StartWithHost extension. (#3923)

OpenTelemetry.Extensions.Propagators

1.0.0-rc9.10

OpenTelemetry.Exporter.ZPages

OpenTelemetry.Instrumentation.AspNetCore

  • Users migrating from version 1.0.0-rc9.9 will see the following breaking changes:
    • Updated http.status_code dimension type from string to int for http.server.duration metric. (#3930)

    • http.host will no longer be populated on http.server.duration metric. net.host.name and net.host.port attributes will be populated instead. (#3928)

    • The http.server.duration metric's http.target attribute is replaced with

http.route attribute. (#3903)

  • http.host will no longer be populated on activity. net.host.name and net.host.port attributes will be populated instead. (#3858)

  • Extension method AddAspNetCoreInstrumentation on MeterProviderBuilder now supports AspNetCoreMetricsInstrumentationOptions. This option class exposes configuration properties for metric filtering and tag enrichment. (#3948, #3982)

OpenTelemetry.Instrumentation.GrpcNetClient

OpenTelemetry.Instrumentation.Http

  • Added net.peer.name and net.peer.port as dimensions on http.client.duration metric. (#3907)

  • Breaking change http.host will no longer be populated on activity. net.peer.name and net.peer.port attributes will be populated instead. (#3832)

OpenTelemetry.Instrumentation.SqlClient

  • Breaking change: The same API is now exposed for net462 and netstandard2.0 targets. SetDbStatement has been removed. Use SetDbStatementForText to capture command text and stored procedure names on .NET Framework. Note: Enrich, Filter, RecordException, and SetDbStatementForStoredProcedure options are NOT supported on .NET Framework. (#3900)

  • Added overloads which accept a name to the TracerProviderBuilder AddSqlClientInstrumentation extension to allow for more fine-grained options management (#3994)

OpenTelemetry.Shims.OpenTracing

To top