OpenTelemetry
-
Add back support for Exemplars. See
exemplars for
instructions to enable exemplars.
(#4553) -
Added Logs Bridge
API
implementation (Sdk.CreateLoggerProviderBuilder
, etc.).
(#4433) -
Obsoleted
LogRecord.LogLevel
in favor of theLogRecord.Severity
property
which matches the OpenTelemetry Specification > Logs DataModel > Severity
definition.
(#4433) -
Added
LogRecord.Logger
property to access the OpenTelemetry Specification >
Instrumentation
Scope
provided during Logger creation.
(#4433) -
Fix the issue of potentially running into the
ArgumentException
:An instance of EventSource with Guid af2d5796-946b-50cb-5f76-166a609afcbb already exists.
when using any of the following exporters:ConsoleExporter
,
OtlpExporter
,ZipkinExporter
,JaegerExporter
.
OpenTelemetry.Api
-
Updated
System.Diagnostics.DiagnosticSource
package version to7.0.2
.
(#4576) -
Breaking change In order to make
RuntimeContext
compatible with
ahead-of-time compilation (AOT),RuntimeContext.ContextSlotType
can only be
assigned one of the following types:AsyncLocalRuntimeContextSlot<>
,
ThreadLocalRuntimeContextSlot<>
, andRemotingRuntimeContextSlot<>
. A
System.NotSupportedException
will be thrown if you try to assign any type
other than the three types mentioned.
(#4542) -
Added Logs Bridge
API
implementation (LoggerProviderBuilder
,LoggerProvider
,Logger
, etc.).
(#4433)
OpenTelemetry.Api.ProviderBuilderExtensions
- Added extension methods to support using the Logs Bridge
API
implementation (egLoggerProviderBuilder
) with dependency injection.
(#4433)
OpenTelemetry.Exporter.Console
-
Add back support for Exemplars. See
exemplars for
instructions to enable exemplars.
(#4553) -
Updated to display
Severity
andSeverityText
text instead of
ILogger.LogLevel
when exportingLogRecord
instances.
(#4568) -
Added
LoggerProviderBuilder.AddConsoleExporter
registration extension.
(#4583)
OpenTelemetry.Exporter.InMemory
- Added
LoggerProviderBuilder.AddInMemoryExporter
registration extension.
(#4584)
OpenTelemetry.Exporter.OpenTelemetryProtocol
-
Merged
OpenTelemetry.Exporter.OpenTelemetryProtocol.Logs
package into
OpenTelemetry.Exporter.OpenTelemetryProtocol
. Going Forward,
OpenTelemetry.Exporter.OpenTelemetryProtocol
will be the only package needed
for all 3 signals (Logs, Metrics, and Traces). All the changes made in
OpenTelemetry.Exporter.OpenTelemetryProtocol.Logs
are now included in this package.
(#4556) -
Add back support for Exemplars. See
exemplars for
instructions to enable exemplars.
(#4553) -
Updated Grpc.Net.Client to
2.45.0
to fix unobserved exception from failed
calls.
(#4573) -
Updated to support
Severity
andSeverityText
when exportingLogRecord
s.
(#4568) -
Updated Grpc.Net.Client to
2.52.0
to address the vulnerability reported by
CVE-2023-32731. Refer to
grpc/grpc#32309
for more details.
(#4647)