You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename classes for alignment. We have LogEmitterProvider and LogEmitter right now, we're going to need LoggerProvider and Logger. The rename is going to sting quite a bit because stable artifacts like OpenTelemetrySdk have references to the old names. We justified this because although OpenTelemetrySdk is stable, you need to take a dependency on the log SDK in order to use the log portions of the API. We'll need to make one time exception rules for jApiCmp to pass. Change LogEmitter to Logger, LogEmitterProvider to LoggerProvider #4721
Break out :api:logs module, including interfaces like LoggerProvider, Logger, LogRecordBuilder, etc. Split out logs API #4764
Add GlobalLoggerProvider akin to the old GlobalMeterProvider, which will hold global reference while until log stability is reached and it can merge with GlobalOpenTelemetry. Split out logs API #4764
Extend API for events. Logger should have a logRecordBuilder() for use by log appenders, and eventBuilder(String name) for events.
The spec is going to soon have a log appender / event API, in addition to the existing SDK.
To implement we need:
LogEmitterProvider
andLogEmitter
right now, we're going to needLoggerProvider
andLogger
. The rename is going to sting quite a bit because stable artifacts likeOpenTelemetrySdk
have references to the old names. We justified this because althoughOpenTelemetrySdk
is stable, you need to take a dependency on the log SDK in order to use the log portions of the API. We'll need to make one time exception rules for jApiCmp to pass. Change LogEmitter to Logger, LogEmitterProvider to LoggerProvider #4721:api:logs
module, including interfaces likeLoggerProvider
,Logger
,LogRecordBuilder
, etc. Split out logs API #4764GlobalLoggerProvider
akin to the oldGlobalMeterProvider
, which will hold global reference while until log stability is reached and it can merge withGlobalOpenTelemetry
. Split out logs API #4764Logger
should have alogRecordBuilder()
for use by log appenders, andeventBuilder(String name)
for events.LogProcessor
,*LogProcessor
toLogRecordProcessor
,*LogRecordProcessor
. Rename LogProcessor to LogRecordProcessor #4772LogExporter
,*LogExporter
toLogRecordExporter
,*LogRecordExporter
. Rename LogExporter to LogRecordExporter #4773LogData
toLogRecordData
. Rename LogData to LogRecordData #4774When this is complete the instrumentation repo will be able to delete instrumentation-appender-api-internal and instrumentation-appender-sdk-internal 🎉.
The text was updated successfully, but these errors were encountered: