-
Notifications
You must be signed in to change notification settings - Fork 440
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
[Logs SDK] LogProcessor, LogExporter changes #1727
Conversation
+ Rename `LogExporter` to `LogRecordExporter` + Move `*log_processor*` to `*log_record_processor*` + Move `*log_exporter*` to `*log_record_exporter*` Signed-off-by: owent <admin@owent.net>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1727 +/- ##
==========================================
+ Coverage 85.73% 85.79% +0.06%
==========================================
Files 171 171
Lines 5212 5212
==========================================
+ Hits 4468 4471 +3
+ Misses 744 741 -3
|
Signed-off-by: owent <admin@owent.net>
Is it possiable to review and merge this PR first, before other changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the fix :)
One minor comment - Should we be changing all the exporters class names to use "*LogRecordExporter", to be in consistent with the file-names, and naming of their cmake/bazel targets? So, And similarly for Processors: |
yeah, I can do it tomorrow. |
// Copyright The OpenTelemetry Authors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
#ifdef ENABLE_LOGS_PREVIEW |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not related to this PR, but I think we can later remove the factory class for MultiLogRecordProcessor, as this class is only used internally in SDK.
* + Rename `LogProcessor` to `LogRecordProcessor` + Rename `LogExporter` to `LogRecordExporter` + Move `*log_processor*` to `*log_record_processor*` + Move `*log_exporter*` to `*log_record_exporter*` Signed-off-by: owent <admin@owent.net> * Add changelog Signed-off-by: owent <admin@owent.net> Signed-off-by: owent <admin@owent.net> Co-authored-by: Ehsan Saei <71217171+esigo@users.noreply.github.com>
* + Rename `LogProcessor` to `LogRecordProcessor` + Rename `LogExporter` to `LogRecordExporter` + Move `*log_processor*` to `*log_record_processor*` + Move `*log_exporter*` to `*log_record_exporter*` Signed-off-by: owent <admin@owent.net> * Add changelog Signed-off-by: owent <admin@owent.net> Signed-off-by: owent <admin@owent.net> Co-authored-by: Ehsan Saei <71217171+esigo@users.noreply.github.com>
Signed-off-by: owent admin@owent.net
Fixes #1694
Changes
These are break changes.
LogProcessor
toLogRecordProcessor
LogExporter
toLogRecordExporter
*log_processor*
to*log_record_processor*
*log_exporter*
to*log_record_exporter*
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes