Skip to content

Extend Exporter Sending Queue batch to support multiple sizers. #15180

Draft
XuechunHou wants to merge 41 commits intoopen-telemetry:mainfrom
XuechunHou:main
Draft

Extend Exporter Sending Queue batch to support multiple sizers. #15180
XuechunHou wants to merge 41 commits intoopen-telemetry:mainfrom
XuechunHou:main

Conversation

@XuechunHou
Copy link
Copy Markdown

Description

Link to tracking issue

Fixes #

Testing

Documentation

…ngle-size to map-based sizing and tracking in queuebatch metrics and traces
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 23, 2026

Merging this PR will degrade performance by 29.94%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 2 regressed benchmarks
✅ 5 untouched benchmarks
⏩ 76 skipped benchmarks1

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
BenchmarkMemoryQueueWaitForResult 48.5 µs 69.3 µs -29.94%
BenchmarkPersistentQueue 144.5 µs 204.3 µs -29.28%

Comparing XuechunHou:main (7f47e34) with main (209e203)

Open in CodSpeed

Footnotes

  1. 76 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@XuechunHou XuechunHou force-pushed the main branch 2 times, most recently from 3eb1479 to 02586a5 Compare April 23, 2026 21:06
@XuechunHou XuechunHou force-pushed the main branch 2 times, most recently from a6fa7e5 to 6bed64d Compare April 23, 2026 21:55
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Codecov Report

❌ Patch coverage is 88.88889% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.25%. Comparing base (6d035cc) to head (7f47e34).
⚠️ Report is 32 commits behind head on main.

Files with missing lines Patch % Lines
...r/exporterhelper/xexporterhelper/profiles_batch.go 76.66% 10 Missing and 4 partials ⚠️
...r/exporterhelper/internal/queuebatch/logs_batch.go 89.65% 4 Missing and 2 partials ⚠️
...xporterhelper/internal/queuebatch/metrics_batch.go 91.30% 4 Missing and 2 partials ⚠️
...exporterhelper/internal/queuebatch/traces_batch.go 88.00% 4 Missing and 2 partials ⚠️
...xporter/exporterhelper/internal/queuebatch/logs.go 71.42% 2 Missing and 2 partials ⚠️
...ter/exporterhelper/internal/requesttest/request.go 91.66% 1 Missing and 2 partials ⚠️
...orter/exporterhelper/internal/queuebatch/config.go 93.10% 1 Missing and 1 partial ⚠️

❌ Your patch check has failed because the patch coverage (88.88%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15180      +/-   ##
==========================================
- Coverage   91.31%   91.25%   -0.06%     
==========================================
  Files         699      700       +1     
  Lines       44940    45412     +472     
==========================================
+ Hits        41035    41439     +404     
- Misses       2761     2808      +47     
- Partials     1144     1165      +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

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.

1 participant