1.3.0-beta.1 (2024-07-12)
Bugs Fixed
-
Added the
LogRecord.CategoryName
field to log and exception telemetry.
Previously theCategoryName
field was omitted, which was inconsistent with
expectedILogger
behavior, and with Application Insights classic behavior.
(#44754) -
Fixed an issue where a
DuplicateKeyException
could be thrown ifEventId
andEventName
were present in bothLogRecord
(LogRecord.EventId
,
LogRecord.EventName
) andLogRecord.Attributes
. The method now uses
EventId
andEventName
fromLogRecord.Attributes
when both are present.
If they are not inLogRecord.Attributes
, it uses the values from
LogRecord.EventId
orLogRecord.EventName
, preventing theLogRecord
from
being dropped.
(#44748)
Other Changes
-
Enabled support for log collection from Azure SDKs via
Microsoft.Extensions.Logging
.
See Logging with the Azure SDK for .NET for the details.
(This feature was originally introduced in 1.2.0-beta.2)
(#44511) -
Update OpenTelemetry dependencies.
(#44650)- OpenTelemetry 1.9.0
- OpenTelemetry.Extensions.Hosting 1.9.0
- OpenTelemetry.Instrumentation.AspNetCore 1.9.0
- OpenTelemetry.Instrumentation.Http 1.9.0
-
Updated the code of vendored instrumentation library
OpenTelemetry.Instrumentation.SqlClient
from the OpenTelemetry .NET contrib repository.
Code has been updated to 1.9.0-beta.1.
(#44682) -
Updated the code of vendored resource detector library
OpenTelemetry.Resources.Azure
from the OpenTelemetry .NET contrib repository.
Code has been updated to 1.0.0-beta.8.
(#44682) -
Removed an experimental feature for logs emitted within an active tracing context to follow the Activity's sampling decision.
(This feature was originally introduced in 1.2.0-beta.1)
(#44745)