-
Notifications
You must be signed in to change notification settings - Fork 882
[logs] Support OTel Logs Bridge API #4433
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestkeep-openPrevents issues and pull requests being closed as stalePrevents issues and pull requests being closed as stalelogsLogging signal relatedLogging signal relatedpkg:OpenTelemetryIssues related to OpenTelemetry NuGet packageIssues related to OpenTelemetry NuGet packagepkg:OpenTelemetry.ApiIssues related to OpenTelemetry.Api NuGet packageIssues related to OpenTelemetry.Api NuGet packagepkg:OpenTelemetry.Extensions.HostingIssues related to OpenTelemetry.Extensions.Hosting NuGet packageIssues related to OpenTelemetry.Extensions.Hosting NuGet packagespec-complianceIssues related to compliance with the OpenTelemetry SpecificationIssues related to compliance with the OpenTelemetry Specification
Milestone
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestkeep-openPrevents issues and pull requests being closed as stalePrevents issues and pull requests being closed as stalelogsLogging signal relatedLogging signal relatedpkg:OpenTelemetryIssues related to OpenTelemetry NuGet packageIssues related to OpenTelemetry NuGet packagepkg:OpenTelemetry.ApiIssues related to OpenTelemetry.Api NuGet packageIssues related to OpenTelemetry.Api NuGet packagepkg:OpenTelemetry.Extensions.HostingIssues related to OpenTelemetry.Extensions.Hosting NuGet packageIssues related to OpenTelemetry.Extensions.Hosting NuGet packagespec-complianceIssues related to compliance with the OpenTelemetry SpecificationIssues related to compliance with the OpenTelemetry Specification
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
publicin prerelease builds of OpenTelemetry .NET (starting with 1.6.0-alpha.1) but will beinternalin stable builds.class InstrumentationScope: [api-logs] Remove InstrumentationScope class #4436LogRecordSeverityenum: [api-logs] LogRecordSeverity enum tweaks #4451WithLogging: [hosting-logs] Add WithLogging #4483ILogger: [hosting-logs] Don't register ILogger when calling WithLogging #4535LoggerProviderBuilderregistration extension: [inmemory-exporter] Add extension on LoggerProviderBuilder #4541LoggerProviderBuilderregistration 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 #4568LoggerProviderBuilderregistration extension: Add otlp log extension methods for LoggerProviderBuilder #5103Bodyset directly onLogRecord: [Logs Bridge API] Add support for Body set directly on LogRecord for OTLP Exporter. #5268LogRecords withoutCategoryNameset: [otlp] Use LogRecord.Logger.Name for instrumentation scope if LogRecord.CategoryName is null #5300OpenTelemetryLoggerOptions.AddProcessor&OpenTelemetryLoggerOptions.SetResourceBuilderOpenTelemetryLoggerOptionsregistration extensionsInternalsVisibleToRelates to #4014