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.

@jack-berg jack-berg requested review from a team November 11, 2022 00:58
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 <[email protected]>
Fix `-Werror=suggest-override` and style

Signed-off-by: owent <[email protected]>
Fix ostream_log_test

Signed-off-by: owent <[email protected]>
Fix ostream print_value for `AttributeValue`

Signed-off-by: owent <[email protected]>
New Recordable of logs

Signed-off-by: owent <[email protected]>
Restore .vscode/launch.json

Signed-off-by: owent <[email protected]>
Fix warning.

Signed-off-by: owent <[email protected]>
Fix warnings in maintainer mode and ETW exporter

Signed-off-by: owent <[email protected]>
Add CHANGELOG

Signed-off-by: owent <[email protected]>
Allow to move 'nostd::unique_ptr<T>' into `nostd::shared_ptr<T>`

Signed-off-by: owent <[email protected]>
Do not use `std/type_traits.h` any more. Maybe we should remove this file later.

Signed-off-by: owent <[email protected]>
Allow to add rvalue into `CircularBuffer`

Signed-off-by: owent <[email protected]>
Finish new `LogRecord` for exporters.

Signed-off-by: owent <[email protected]>
Finish unit tests in API and SDK.
Exporters are still work in progress.

Signed-off-by: owent <[email protected]>
New `LogRecord` and `Recordable` implementations.

Signed-off-by: WenTao Ou <[email protected]>
owent added a commit to owent/opentelemetry-cpp that referenced this pull request Dec 8, 2022
…on#2941

Signed-off-by: owent <[email protected]>
Fix `-Werror=suggest-override` and style

Signed-off-by: owent <[email protected]>
Fix ostream_log_test

Signed-off-by: owent <[email protected]>
Fix ostream print_value for `AttributeValue`

Signed-off-by: owent <[email protected]>
New Recordable of logs

Signed-off-by: owent <[email protected]>
Restore .vscode/launch.json

Signed-off-by: owent <[email protected]>
Fix warning.

Signed-off-by: owent <[email protected]>
Fix warnings in maintainer mode and ETW exporter

Signed-off-by: owent <[email protected]>
Add CHANGELOG

Signed-off-by: owent <[email protected]>
Allow to move 'nostd::unique_ptr<T>' into `nostd::shared_ptr<T>`

Signed-off-by: owent <[email protected]>
Do not use `std/type_traits.h` any more. Maybe we should remove this file later.

Signed-off-by: owent <[email protected]>
Allow to add rvalue into `CircularBuffer`

Signed-off-by: owent <[email protected]>
Finish new `LogRecord` for exporters.

Signed-off-by: owent <[email protected]>
Finish unit tests in API and SDK.
Exporters are still work in progress.

Signed-off-by: owent <[email protected]>
New `LogRecord` and `Recordable` implementations.

Signed-off-by: WenTao Ou <[email protected]>

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

Signed-off-by: WenTao Ou <[email protected]>

Fix feedback of comments and useless headers

Signed-off-by: WenTao Ou <[email protected]>

Optimize if branch in `ReadWriteLogRecord::GetResource` .

Signed-off-by: owent <[email protected]>
owent added a commit to owent/opentelemetry-cpp that referenced this pull request Dec 12, 2022
…on#2941

Signed-off-by: owent <[email protected]>
Fix `-Werror=suggest-override` and style

Signed-off-by: owent <[email protected]>
Fix ostream_log_test

Signed-off-by: owent <[email protected]>
Fix ostream print_value for `AttributeValue`

Signed-off-by: owent <[email protected]>
New Recordable of logs

Signed-off-by: owent <[email protected]>
Restore .vscode/launch.json

Signed-off-by: owent <[email protected]>
Fix warning.

Signed-off-by: owent <[email protected]>
Fix warnings in maintainer mode and ETW exporter

Signed-off-by: owent <[email protected]>
Add CHANGELOG

Signed-off-by: owent <[email protected]>
Allow to move 'nostd::unique_ptr<T>' into `nostd::shared_ptr<T>`

Signed-off-by: owent <[email protected]>
Do not use `std/type_traits.h` any more. Maybe we should remove this file later.

Signed-off-by: owent <[email protected]>
Allow to add rvalue into `CircularBuffer`

Signed-off-by: owent <[email protected]>
Finish new `LogRecord` for exporters.

Signed-off-by: owent <[email protected]>
Finish unit tests in API and SDK.
Exporters are still work in progress.

Signed-off-by: owent <[email protected]>
New `LogRecord` and `Recordable` implementations.

Signed-off-by: WenTao Ou <[email protected]>

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

Signed-off-by: WenTao Ou <[email protected]>

Fix feedback of comments and useless headers

Signed-off-by: WenTao Ou <[email protected]>

Optimize if branch in `ReadWriteLogRecord::GetResource` .

Signed-off-by: owent <[email protected]>
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