Skip to content

Split out Event API from Log API#2941

Merged
tigrannajaryan merged 7 commits intoopen-telemetry:mainfrom
jack-berg:split-out-event-api
Nov 14, 2022
Merged

Split out Event API from Log API#2941
tigrannajaryan merged 7 commits intoopen-telemetry:mainfrom
jack-berg:split-out-event-api

Conversation

@jack-berg
Copy link
Copy Markdown
Member

Resolves #2917.

Depends on #2940.

@jack-berg jack-berg requested review from a team November 11, 2022 00:58
Copy link
Copy Markdown
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am going to give it this a quick approval since I think it is important to do the splitting and then work separately to refine the Log part and the Event part.

Particularly for the Log part I want us to address #2936 quickly since we are causing confusion with the way the spec is written now.

Comment thread specification/logs/event-api.md Outdated
@jack-berg jack-berg requested a review from a team November 11, 2022 17:03
Comment thread specification/logs/event-api.md
@tigrannajaryan
Copy link
Copy Markdown
Member

@jack-berg please rebase.

Comment thread specification/logs/event-api.md
@tigrannajaryan tigrannajaryan merged commit 7ae7e7d into open-telemetry:main Nov 14, 2022
owent added a commit to owent/opentelemetry-cpp that referenced this pull request Nov 29, 2022
…on#2941

Signed-off-by: owent <admin@owent.net>
Fix `-Werror=suggest-override` and style

Signed-off-by: owent <admin@owent.net>
Fix ostream_log_test

Signed-off-by: owent <admin@owent.net>
Fix ostream print_value for `AttributeValue`

Signed-off-by: owent <admin@owent.net>
New Recordable of logs

Signed-off-by: owent <admin@owent.net>
Restore .vscode/launch.json

Signed-off-by: owent <admin@owent.net>
Fix warning.

Signed-off-by: owent <admin@owent.net>
Fix warnings in maintainer mode and ETW exporter

Signed-off-by: owent <admin@owent.net>
Add CHANGELOG

Signed-off-by: owent <admin@owent.net>
Allow to move 'nostd::unique_ptr<T>' into `nostd::shared_ptr<T>`

Signed-off-by: owent <admin@owent.net>
Do not use `std/type_traits.h` any more. Maybe we should remove this file later.

Signed-off-by: owent <admin@owent.net>
Allow to add rvalue into `CircularBuffer`

Signed-off-by: owent <admin@owent.net>
Finish new `LogRecord` for exporters.

Signed-off-by: owent <admin@owent.net>
Finish unit tests in API and SDK.
Exporters are still work in progress.

Signed-off-by: owent <admin@owent.net>
New `LogRecord` and `Recordable` implementations.

Signed-off-by: WenTao Ou <admin@owent.net>
owent added a commit to owent/opentelemetry-cpp that referenced this pull request Dec 8, 2022
…on#2941

Signed-off-by: owent <admin@owent.net>
Fix `-Werror=suggest-override` and style

Signed-off-by: owent <admin@owent.net>
Fix ostream_log_test

Signed-off-by: owent <admin@owent.net>
Fix ostream print_value for `AttributeValue`

Signed-off-by: owent <admin@owent.net>
New Recordable of logs

Signed-off-by: owent <admin@owent.net>
Restore .vscode/launch.json

Signed-off-by: owent <admin@owent.net>
Fix warning.

Signed-off-by: owent <admin@owent.net>
Fix warnings in maintainer mode and ETW exporter

Signed-off-by: owent <admin@owent.net>
Add CHANGELOG

Signed-off-by: owent <admin@owent.net>
Allow to move 'nostd::unique_ptr<T>' into `nostd::shared_ptr<T>`

Signed-off-by: owent <admin@owent.net>
Do not use `std/type_traits.h` any more. Maybe we should remove this file later.

Signed-off-by: owent <admin@owent.net>
Allow to add rvalue into `CircularBuffer`

Signed-off-by: owent <admin@owent.net>
Finish new `LogRecord` for exporters.

Signed-off-by: owent <admin@owent.net>
Finish unit tests in API and SDK.
Exporters are still work in progress.

Signed-off-by: owent <admin@owent.net>
New `LogRecord` and `Recordable` implementations.

Signed-off-by: WenTao Ou <admin@owent.net>

Restore `nostd::unique_ptr` to `std::unique_ptr` in sdk and exporters.

Signed-off-by: WenTao Ou <admin@owent.net>

Fix feedback of comments and useless headers

Signed-off-by: WenTao Ou <admin@owent.net>

Optimize if branch in `ReadWriteLogRecord::GetResource` .

Signed-off-by: owent <admin@owent.net>
owent added a commit to owent/opentelemetry-cpp that referenced this pull request Dec 12, 2022
…on#2941

Signed-off-by: owent <admin@owent.net>
Fix `-Werror=suggest-override` and style

Signed-off-by: owent <admin@owent.net>
Fix ostream_log_test

Signed-off-by: owent <admin@owent.net>
Fix ostream print_value for `AttributeValue`

Signed-off-by: owent <admin@owent.net>
New Recordable of logs

Signed-off-by: owent <admin@owent.net>
Restore .vscode/launch.json

Signed-off-by: owent <admin@owent.net>
Fix warning.

Signed-off-by: owent <admin@owent.net>
Fix warnings in maintainer mode and ETW exporter

Signed-off-by: owent <admin@owent.net>
Add CHANGELOG

Signed-off-by: owent <admin@owent.net>
Allow to move 'nostd::unique_ptr<T>' into `nostd::shared_ptr<T>`

Signed-off-by: owent <admin@owent.net>
Do not use `std/type_traits.h` any more. Maybe we should remove this file later.

Signed-off-by: owent <admin@owent.net>
Allow to add rvalue into `CircularBuffer`

Signed-off-by: owent <admin@owent.net>
Finish new `LogRecord` for exporters.

Signed-off-by: owent <admin@owent.net>
Finish unit tests in API and SDK.
Exporters are still work in progress.

Signed-off-by: owent <admin@owent.net>
New `LogRecord` and `Recordable` implementations.

Signed-off-by: WenTao Ou <admin@owent.net>

Restore `nostd::unique_ptr` to `std::unique_ptr` in sdk and exporters.

Signed-off-by: WenTao Ou <admin@owent.net>

Fix feedback of comments and useless headers

Signed-off-by: WenTao Ou <admin@owent.net>

Optimize if branch in `ReadWriteLogRecord::GetResource` .

Signed-off-by: owent <admin@owent.net>
lalitb pushed a commit to open-telemetry/opentelemetry-cpp that referenced this pull request Dec 13, 2022
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
schmikei pushed a commit to schmikei/opentelemetry-specification that referenced this pull request Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal for pure syntactic sugar event API

8 participants