OpenTelemetry
- Added
Sdk.CreateLoggerProviderBuilder
method and support for dependency
injection scenarios when configuringOpenTelemetryLoggerProvider
(#3504)
OpenTelemetry.Api
-
Updated to System.Diagnostics.DiagnosticSource preview version 7.0.0.
With this update, applications targeting .NET 5 and lower will receive a
warning at build time as described here
(note: building using older versions of the .NET SDK produces an error at
build time). This is because .NET 5 reached EOL in May 2022 and .NET
Core 3.1 reaches EOL in December 2022.There is no guarantee that System.Diagnostics.DiagnosticSource will continue
to work on older versions of .NET. However, the build warning can be
suppressed by setting theSuppressTfmSupportBuildWarnings
MSBuild property.This does not affect applications targeting .NET Framework.
#3539
OpenTelemetry.Exporter.OpenTelemetryProtocol
- When using Attribute
Limits
the OTLP exporter will now send "dropped" counts where applicable (ex:
dropped_attributes_count).
(#3580)
OpenTelemetry.Exporter.Prometheus.AspNetCore
-
Split up Prometheus projects based on its hosting mechanism,
HttpListener and AspNetCore, into their own projects
and assemblies.
(#3430
#3503
#3507) -
Added
IEndpointRouteBuilder
extension methods to help with Prometheus
middleware configuration on ASP.NET Core
(#3295)
OpenTelemetry.Exporter.Prometheus.HttpListener