Skip to content

OTLP LogExporter modified to not drop whole batch if a single log is invalid#2934

Merged
cijothomas merged 2 commits into
open-telemetry:mainfrom
cijothomas:cijothomas/logexporterfix1
Feb 23, 2022
Merged

OTLP LogExporter modified to not drop whole batch if a single log is invalid#2934
cijothomas merged 2 commits into
open-telemetry:mainfrom
cijothomas:cijothomas/logexporterfix1

Conversation

@cijothomas

Copy link
Copy Markdown
Member

Would be nice follow ups to log Exception detail as opposed to just message in this PR.

@cijothomas cijothomas requested a review from a team February 23, 2022 18:12
using OtlpCollector = Opentelemetry.Proto.Collector.Trace.V1;

namespace OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests.Implementation.ExportClient
namespace OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

unrelated cleanup

Comment thread src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md Outdated

@reyang reyang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM assuming the changelog will be updated to include the PR link.

@codecov

codecov Bot commented Feb 23, 2022

Copy link
Copy Markdown

Codecov Report

Merging #2934 (a68af84) into main (cbc5172) will increase coverage by 0.05%.
The diff coverage is 82.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2934      +/-   ##
==========================================
+ Coverage   83.79%   83.84%   +0.05%     
==========================================
  Files         254      254              
  Lines        8940     8941       +1     
==========================================
+ Hits         7491     7497       +6     
+ Misses       1449     1444       -5     
Impacted Files Coverage Δ
...etryProtocol/Implementation/LogRecordExtensions.cs 75.40% <82.05%> (+2.07%) ⬆️
...tation/OpenTelemetryProtocolExporterEventSource.cs 85.00% <100.00%> (ø)
...ZPages/Implementation/ZPagesExporterEventSource.cs 56.25% <0.00%> (-6.25%) ⬇️
...ter.ZPages/Implementation/ZPagesActivityTracker.cs 97.14% <0.00%> (-2.86%) ⬇️
...nTelemetry/Internal/OpenTelemetrySdkEventSource.cs 72.22% <0.00%> (+2.77%) ⬆️
...emetry.Api/Internal/OpenTelemetryApiEventSource.cs 82.35% <0.00%> (+8.82%) ⬆️

@cijothomas cijothomas merged commit 72ade32 into open-telemetry:main Feb 23, 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.

2 participants