-
-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Description
Warning
The purpose of this feature is to provide a way to bridge logs from logging frameworks (odin, log4cats, etc) into OpenTelemetry. This is not a logging API.
The specification:
- https://opentelemetry.io/docs/specs/otel/logs/api/
- https://opentelemetry.io/docs/specs/otel/logs/sdk/
Prerequistes
Before moving forward with a specific implementation, we must ensure the API is compatible with a Scala logging framework, such as:
- scribe - PoC
- odin
- log4cats (keep an eye on an API redesign: SAM Type Interface log4cats#920)
The scope
core
- Define
LoggerProvider,LoggerBuilder,Logger, andLogRecordBuilderin the new core-logs module
OtelJava
- Provide OtelJava bindings in the oteljava-logs module
- Provide OtelJava testkit binding in the oteljava-logs-testkit module
SDK
- Implement SDK models, such as
SdkLoggerProvider,SdkLogger, and so on, in the sdk-logs module - Implement
LogRecordExporterandConsoleLogRecordExporter - Implement
LogRecordProcessor,BatchLogRecordProcessor, andSimpleLogRecordProcessor - Implement autoconfigure instances
SDK exporter
- Implement
LogsProtoEncoderin the sdk-exporter-logs module - Implement
OtlpLogRecordExporter - Implement autoconfigure instances
SDK testkit
- Implement testkit in the sdk-logs-testkit module
Release
- Remove
NoPublishPluginfrom the logs modules - Remove
mimaPreviousArtifactsfrom the logs modules - Make sure all modules are correctly linked
- Bump
tlBaseVersion
jnicoulaud-ledger and igor-ramazanov
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
