[Trace SDK] Send resource once to processor and exporter, and not with every span #1830
58.9% of diff hit (target 74.0%)
View this Pull Request on Codecov
58.9% of diff hit (target 74.0%)
Annotations
Check warning on line 310 in opentelemetry-otlp/src/exporter/http/mod.rs
codecov / codecov/patch
opentelemetry-otlp/src/exporter/http/mod.rs#L310
Added line #L310 was not covered by tests
Check warning on line 319 in opentelemetry-otlp/src/exporter/http/mod.rs
codecov / codecov/patch
opentelemetry-otlp/src/exporter/http/mod.rs#L314-L319
Added lines #L314 - L319 were not covered by tests
Check warning on line 24 in opentelemetry-otlp/src/exporter/http/trace.rs
codecov / codecov/patch
opentelemetry-otlp/src/exporter/http/trace.rs#L24
Added line #L24 was not covered by tests
Check warning on line 72 in opentelemetry-otlp/src/exporter/http/trace.rs
codecov / codecov/patch
opentelemetry-otlp/src/exporter/http/trace.rs#L70-L72
Added lines #L70 - L72 were not covered by tests
Check warning on line 277 in opentelemetry-sdk/src/trace/provider.rs
codecov / codecov/patch
opentelemetry-sdk/src/trace/provider.rs#L276-L277
Added lines #L276 - L277 were not covered by tests
Check warning on line 97 in opentelemetry-sdk/src/trace/span_processor.rs
codecov / codecov/patch
opentelemetry-sdk/src/trace/span_processor.rs#L97
Added line #L97 was not covered by tests
Check warning on line 45 in opentelemetry-stdout/src/trace/exporter.rs
codecov / codecov/patch
opentelemetry-stdout/src/trace/exporter.rs#L41-L45
Added lines #L41 - L45 were not covered by tests
Check warning on line 63 in opentelemetry-stdout/src/trace/exporter.rs
codecov / codecov/patch
opentelemetry-stdout/src/trace/exporter.rs#L61-L63
Added lines #L61 - L63 were not covered by tests
Check warning on line 120 in opentelemetry-stdout/src/trace/exporter.rs
codecov / codecov/patch
opentelemetry-stdout/src/trace/exporter.rs#L120
Added line #L120 was not covered by tests
Check warning on line 23 in opentelemetry-stdout/src/trace/transform.rs
codecov / codecov/patch
opentelemetry-stdout/src/trace/transform.rs#L18-L23
Added lines #L18 - L23 were not covered by tests
Check warning on line 26 in opentelemetry-stdout/src/trace/transform.rs
codecov / codecov/patch
opentelemetry-stdout/src/trace/transform.rs#L26
Added line #L26 was not covered by tests
Check warning on line 29 in opentelemetry-stdout/src/trace/transform.rs
codecov / codecov/patch
opentelemetry-stdout/src/trace/transform.rs#L29
Added line #L29 was not covered by tests
Check warning on line 32 in opentelemetry-stdout/src/trace/transform.rs
codecov / codecov/patch
opentelemetry-stdout/src/trace/transform.rs#L32
Added line #L32 was not covered by tests