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

[exporter] [chore] Initialize batchSender and queueSender after configuration - #2 #11240

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

sfc-gh-sili
Copy link
Contributor

@sfc-gh-sili sfc-gh-sili commented Sep 23, 2024

This PR follows #11041.

The previous PR changed the initialization of batchSender and queueSender to AFTER configuration, because that enables us to access queueConfig and batcherConfig in the same place.

I noticed since then that there is another API for queue configuration, and this PR takes care of that other API

Link to tracking issue

#10368

Testing

Ran opentelemetry-collector$ make to make sure all tests still pass.

@sfc-gh-sili sfc-gh-sili changed the title Delay initializing [exporter] [chore] Initialize batchSender and queueSender after configuration - #2 Sep 23, 2024
@sfc-gh-sili sfc-gh-sili marked this pull request as ready for review September 23, 2024 04:39
@sfc-gh-sili sfc-gh-sili requested a review from a team as a code owner September 23, 2024 04:39
Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.42%. Comparing base (9811830) to head (89b2e87).
Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11240   +/-   ##
=======================================
  Coverage   91.42%   91.42%           
=======================================
  Files         424      424           
  Lines       20188    20190    +2     
=======================================
+ Hits        18456    18458    +2     
  Misses       1348     1348           
  Partials      384      384           

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

@sfc-gh-sili sfc-gh-sili force-pushed the sili-constructor branch 2 times, most recently from c138ce3 to 05260a1 Compare September 24, 2024 23:41
@bogdandrutu bogdandrutu merged commit dd35137 into open-telemetry:main Sep 26, 2024
49 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 26, 2024
jackgopack4 pushed a commit to jackgopack4/opentelemetry-collector that referenced this pull request Oct 8, 2024
…guration - #2 (open-telemetry#11240)

This PR follows
open-telemetry#11041.

The previous PR changed the initialization of `batchSender` and
`queueSender` to AFTER configuration, because that enables us to access
`queueConfig` and `batcherConfig` in the same place.

I noticed since then that there is another API for queue configuration,
and this PR takes care of that other API

#### Link to tracking issue

open-telemetry#10368

#### Testing

Ran `opentelemetry-collector$ make` to make sure all tests still pass.
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