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 fromIConfiguration
for theAddEnvironmentVariableDetector
extension (Logs) (#3889)Refactored
AddInstrumentation
,ConfigureServices
andConfigureBuilder
APIs into the OpenTelemetry.Extensions.DependencyInjection package and added theIServiceCollection.AddOpenTelemetry
API (#3923)Removed
ConfigureResource
onOpenTelemetryLoggingOptions
(#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 to128
. (#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 forhttp.server.duration
metric. (#3930)http.host
will no longer be populated onhttp.server.duration
metric.net.host.name
andnet.host.port
attributes will be populated instead. (#3928)The
http.server.duration
metric'shttp.target
attribute is replaced with
http.route
attribute.
(#3903)
http.host
will no longer be populated on activity.net.host.name
andnet.host.port
attributes will be populated instead. (#3858)Extension method
AddAspNetCoreInstrumentation
onMeterProviderBuilder
now supportsAspNetCoreMetricsInstrumentationOptions
. This option class exposes configuration properties for metric filtering and tag enrichment. (#3948, #3982)
OpenTelemetry.Instrumentation.GrpcNetClient
OpenTelemetry.Instrumentation.Http
Added
net.peer.name
andnet.peer.port
as dimensions onhttp.client.duration
metric. (#3907)Breaking change
http.host
will no longer be populated on activity.net.peer.name
andnet.peer.port
attributes will be populated instead. (#3832)
OpenTelemetry.Instrumentation.SqlClient
Breaking change: The same API is now exposed for
net462
andnetstandard2.0
targets.SetDbStatement
has been removed. UseSetDbStatementForText
to capture command text and stored procedure names on .NET Framework. Note:Enrich
,Filter
,RecordException
, andSetDbStatementForStoredProcedure
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