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

Add ExportTimeout option to batch span processor #1755

Merged

Conversation

matej-g
Copy link
Contributor

@matej-g matej-g commented Mar 30, 2021

Adding ExportTimeout option to batch span processor, in order to make it comply with the specification (relevant part). Cancellation of the export should be achieved by passing a context with deadline to the exporter's method.

Resolves #1613

@matej-g matej-g force-pushed the export-timeout-batch-span-processor branch from 5677471 to c9572b7 Compare March 30, 2021 09:24
@codecov
Copy link

codecov bot commented Mar 30, 2021

Codecov Report

Merging #1755 (380f859) into main (c6b92d5) will increase coverage by 0.1%.
The diff coverage is 100.0%.

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #1755     +/-   ##
=======================================
+ Coverage   78.6%   78.7%   +0.1%     
=======================================
  Files        134     134             
  Lines       7129    7136      +7     
=======================================
+ Hits        5605    5618     +13     
+ Misses      1275    1272      -3     
+ Partials     249     246      -3     
Impacted Files Coverage Δ
sdk/trace/batch_span_processor.go 80.9% <100.0%> (+5.9%) ⬆️

@matej-g matej-g marked this pull request as ready for review March 30, 2021 09:33
@MrAlias MrAlias merged commit 3c7face into open-telemetry:main Apr 5, 2021
@MrAlias MrAlias mentioned this pull request Apr 23, 2021
@pellared pellared added this to the untracked milestone Nov 8, 2024
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.

Add ExportTimeout to BatchSpanProcessor
5 participants