-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[logs] Support OTel Logs Bridge API #4433
Comments
Is there a PR to add |
It is separate from Bridge itself. See #5648 |
Hi, is there an ETA on when the bridge API might be stable? I'm using the API to create an NLog target (https://github.com/juliuskoval/NLog.Targets.OpenTelemetryProtocol) and it would be nice if the package didn't require pre-release versions of OpenTelemetry packages to work. |
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
: [api-logs] Remove InstrumentationScope class #4436LogRecordSeverity
enum: [api-logs] LogRecordSeverity enum tweaks #4451WithLogging
: [hosting-logs] Add WithLogging #4483ILogger
: [hosting-logs] Don't register ILogger when calling WithLogging #4535LoggerProviderBuilder
registration extension: [inmemory-exporter] Add extension on LoggerProviderBuilder #4541LoggerProviderBuilder
registration extension: [console-exporter] Add extension on LoggerProviderBuilder #4549LogRecord.Severity
&LogRecord.SeverityText
: [sdk-logs] Expose logging SDK implementation as public #4568LogRecord.Severity
&LogRecord.SeverityText
: [sdk-logs] Expose logging SDK implementation as public #4568LoggerProviderBuilder
registration extension: Add otlp log extension methods for LoggerProviderBuilder #5103Body
set directly onLogRecord
: [Logs Bridge API] Add support for Body set directly on LogRecord for OTLP Exporter. #5268LogRecord
s withoutCategoryName
set: [otlp] Use LogRecord.Logger.Name for instrumentation scope if LogRecord.CategoryName is null #5300OpenTelemetryLoggerOptions.AddProcessor
&OpenTelemetryLoggerOptions.SetResourceBuilder
OpenTelemetryLoggerOptions
registration extensionsInternalsVisibleTo
Relates to #4014
The text was updated successfully, but these errors were encountered: