Replies: 4 comments 10 replies
-
I would vote for adjusting the meeting time to make sure everyone got covered. I guess the 09:00PT meeting should be kept, the 13:00PT meeting can move to 16:00PT or 17:00PT? |
Beta Was this translation helpful? Give feedback.
-
@owent Thanks for summarizing the changes required. Firstly, do we all agree this is going to be the breaking change, and to keep it simple, we won't support backward compatibility? Here are the comments in general -
Yes, we should be merging both these attributes before emitting to processor.
How about having
Recordable interface allows us to avoid storing span/log data internally before exporting it. I would prefer to keep it as it is - this may further mean we don't use Apart from that, there is also an event API which would need separate Once we all agree with the scope, we can create separate issues accordingly. |
Beta Was this translation helpful? Give feedback.
-
Agree with Reiley.
For the log spec conformance review, could we have a one-off meeting at 8AM PT if it can work for most people? But I suggest we don't change the time for future series if it is less ideal for most audiences, like make it a obligated for @owent to join the meeting at 11PM in local time for every other week. |
Beta Was this translation helpful? Give feedback.
-
Based on these discussions, I have created the separate milestone for |
Beta Was this translation helpful? Give feedback.
-
Hi all @open-telemetry/cpp-approvers . I have reviewed the changes of log specification recently and found there are a lot changes from #1291 . I think we should discuss the detail of implementation about these changes before I start to write the codes.
To my understanding, the changes are listed below:
event_domain
should be added intoLoggerProvider::GetLogger()
attributes
should also be added intoLoggerProvider::GetLogger()
, should we merge the attributes fromLoggerProvider::GetLogger
andLogger::Log()
before we exporting it to processor?include_trace_context
should also be added intoLoggerProvider::GetLogger()
, but if user do not usetrace::Scope
, we can not get the currentSpan
fromRuntimeContext
. Should we keep to use trace data fromLogger::Log()
or just use getSpan
fromRuntimeContext
?api::logs::LogRecord
should be added into API to replace thelogs::Recordable
in SDK.Logger::Emit(LogRecord, {event name, attributes and timestamp})
to replace pruneLogger::Log()
. We can keep the existingLogger::Log()
to callLogger::Emit
.OnReceive
should be renamed toOnEmit
( RenameOnReceive
toOnEmit
#1652 )sdk::logs::ReadWriteLogRecord
to inheritapi::logs::LogRecord
.I found the processor of otel-java SDK only emitReadWriteLogRecord
, maybe we can also leftLogProcessor::OnEmit(std::unique_ptr<ReadWriteLogRecord> &&)
only?LogProcessor::MakeRecordable()
toLogProcessor::MakeRecord()
?ReadableLogRecord
which inherit fromReadWriteLogRecord
and make all writable functions private.sdk::logs::LogRecord
could be moved into ostream exporter, because it's only used in it and the name confuse with the specification.I think these changes can be splited into several issues and implement them one by one.
Am I miss something or is there any suggestion?
Beta Was this translation helpful? Give feedback.
All reactions