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

chore: modify LogExporter and TraceExporter interfaces to support returning failure #2381

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Catch missing errors

de49068
Select commit
Loading
Failed to load commit list.
Open

chore: modify LogExporter and TraceExporter interfaces to support returning failure #2381

Catch missing errors
de49068
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Dec 24, 2024 in 0s

59.2% of diff hit (target 77.1%)

View this Pull Request on Codecov

59.2% of diff hit (target 77.1%)

Annotations

Check warning on line 58 in opentelemetry-otlp/src/exporter/http/logs.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-otlp/src/exporter/http/logs.rs#L56-L58

Added lines #L56 - L58 were not covered by tests

Check warning on line 70 in opentelemetry-otlp/src/exporter/http/trace.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-otlp/src/exporter/http/trace.rs#L68-L70

Added lines #L68 - L70 were not covered by tests

Check warning on line 95 in opentelemetry-otlp/src/exporter/tonic/logs.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-otlp/src/exporter/tonic/logs.rs#L95

Added line #L95 was not covered by tests

Check warning on line 97 in opentelemetry-otlp/src/exporter/tonic/logs.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-otlp/src/exporter/tonic/logs.rs#L97

Added line #L97 was not covered by tests

Check warning on line 94 in opentelemetry-otlp/src/exporter/tonic/trace.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-otlp/src/exporter/tonic/trace.rs#L94

Added line #L94 was not covered by tests

Check warning on line 96 in opentelemetry-otlp/src/exporter/tonic/trace.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-otlp/src/exporter/tonic/trace.rs#L96

Added line #L96 was not covered by tests

Check warning on line 77 in opentelemetry-sdk/src/error.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-sdk/src/error.rs#L75-L77

Added lines #L75 - L77 were not covered by tests

Check warning on line 146 in opentelemetry-sdk/src/logs/log_emitter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-sdk/src/logs/log_emitter.rs#L146

Added line #L146 was not covered by tests

Check warning on line 143 in opentelemetry-sdk/src/logs/log_processor.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-sdk/src/logs/log_processor.rs#L143

Added line #L143 was not covered by tests

Check warning on line 192 in opentelemetry-sdk/src/logs/log_processor_with_async_runtime.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-sdk/src/logs/log_processor_with_async_runtime.rs#L192

Added line #L192 was not covered by tests

Check warning on line 194 in opentelemetry-sdk/src/logs/log_processor_with_async_runtime.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-sdk/src/logs/log_processor_with_async_runtime.rs#L194

Added line #L194 was not covered by tests

Check warning on line 153 in opentelemetry-sdk/src/testing/logs/in_memory_exporter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-sdk/src/testing/logs/in_memory_exporter.rs#L151-L153

Added lines #L151 - L153 were not covered by tests

Check warning on line 158 in opentelemetry-sdk/src/testing/logs/in_memory_exporter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-sdk/src/testing/logs/in_memory_exporter.rs#L156-L158

Added lines #L156 - L158 were not covered by tests

Check warning on line 187 in opentelemetry-sdk/src/testing/logs/in_memory_exporter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-sdk/src/testing/logs/in_memory_exporter.rs#L187

Added line #L187 was not covered by tests

Check warning on line 857 in opentelemetry-sdk/src/trace/span_processor.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-sdk/src/trace/span_processor.rs#L855-L857

Added lines #L855 - L857 were not covered by tests

Check warning on line 291 in opentelemetry-sdk/src/trace/span_processor_with_async_runtime.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-sdk/src/trace/span_processor_with_async_runtime.rs#L291

Added line #L291 was not covered by tests

Check warning on line 293 in opentelemetry-sdk/src/trace/span_processor_with_async_runtime.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-sdk/src/trace/span_processor_with_async_runtime.rs#L293

Added line #L293 was not covered by tests

Check warning on line 66 in opentelemetry-stdout/src/logs/exporter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-stdout/src/logs/exporter.rs#L66

Added line #L66 was not covered by tests

Check warning on line 68 in opentelemetry-stdout/src/logs/exporter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-stdout/src/logs/exporter.rs#L68

Added line #L68 was not covered by tests

Check warning on line 62 in opentelemetry-stdout/src/trace/exporter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-stdout/src/trace/exporter.rs#L62

Added line #L62 was not covered by tests

Check warning on line 64 in opentelemetry-stdout/src/trace/exporter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

opentelemetry-stdout/src/trace/exporter.rs#L64

Added line #L64 was not covered by tests