Skip to content

Cover more test cases; remove unused Protocol stringer

475c114
Select commit
Loading
Failed to load commit list.
Open

Support http/json in otlptracehttp #8273

Cover more test cases; remove unused Protocol stringer
475c114
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 1, 2026 in 1s

83.0% (+0.0%) compared to b4c3b6a

View this Pull Request on Codecov

83.0% (+0.0%) compared to b4c3b6a

Details

Codecov Report

❌ Patch coverage is 86.98795% with 54 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.0%. Comparing base (b4c3b6a) to head (475c114).

Files with missing lines Patch % Lines
.../internal/otlpjson/export_trace_service_request.go 85.9% 22 Missing and 22 partials ⚠️
exporters/otlp/otlptrace/otlptracehttp/client.go 69.6% 6 Missing and 4 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff           @@
##            main   #8273    +/-   ##
======================================
  Coverage   82.9%   83.0%            
======================================
  Files        314     316     +2     
  Lines      24985   25385   +400     
======================================
+ Hits       20729   21081   +352     
- Misses      3882    3907    +25     
- Partials     374     397    +23     
Files with missing lines Coverage Δ
...ace/otlptracegrpc/internal/otlpconfig/envconfig.go 90.3% <100.0%> (+1.9%) ⬆️
...trace/otlptracegrpc/internal/otlpconfig/options.go 94.6% <100.0%> (+0.5%) ⬆️
...ace/otlptracehttp/internal/otlpconfig/envconfig.go 90.3% <100.0%> (+1.9%) ⬆️
...trace/otlptracehttp/internal/otlpconfig/options.go 93.4% <100.0%> (+0.6%) ⬆️
...internal/otlpjson/export_trace_service_response.go 100.0% <100.0%> (ø)
exporters/otlp/otlptrace/otlptracehttp/options.go 100.0% <100.0%> (ø)
exporters/otlp/otlptrace/otlptracehttp/client.go 79.6% <69.6%> (-1.1%) ⬇️
.../internal/otlpjson/export_trace_service_request.go 85.9% <85.9%> (ø)

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.