Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split out Event API from Log API #2941

Merged
merged 7 commits into from
Nov 14, 2022

Conversation

jack-berg
Copy link
Member

Resolves #2917.

Depends on #2940.

Copy link
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.

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

@jack-berg please rebase.

specification/logs/event-api.md Show resolved Hide resolved
@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
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