Open CodeBlanch opened 1 year ago
Is there a PR to add .WithLogging(c => c.AddOtlpExporter());
? didn't find it in the list.
Is there a PR to add
.WithLogging(c => c.AddOtlpExporter());
? didn't find it in the list.
It is separate from Bridge itself. See https://github.com/open-telemetry/opentelemetry-dotnet/pull/5648
The OpenTelemetry Specification has been updated with some new logging APIs marked stable:
API: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/bridge-api.md SDK: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/sdk.md
This issue is for tracking the work to implement this in OTel .NET.
Note: This work has been made an experimental feature (see #4735). The APIs will be
public
in prerelease builds of OpenTelemetry .NET (starting with 1.6.0-alpha.1) but will beinternal
in stable builds.class InstrumentationScope
: #4436LogRecordSeverity
enum: #4451WithLogging
: #4483ILogger
: #4535LoggerProviderBuilder
registration extension: #4541LoggerProviderBuilder
registration extension: #4549LogRecord.Severity
&LogRecord.SeverityText
: #4568LogRecord.Severity
&LogRecord.SeverityText
: #4568LoggerProviderBuilder
registration extension: #5103Body
set directly onLogRecord
: #5268LogRecord
s withoutCategoryName
set: #5300OpenTelemetryLoggerOptions.AddProcessor
&OpenTelemetryLoggerOptions.SetResourceBuilder
OpenTelemetryLoggerOptions
registration extensionsInternalsVisibleTo
Relates to #4014