Skip to content

BatchSpanProcessorBenchmark: spanCount and dropping spans #6738

Answered by jack-berg
iRevive asked this question in Q&A
Discussion options

You must be logged in to vote

The benchmarks were written years ago by different maintainers and we have to piece together intent by analyzing git history and the benchmark code and making an informed guess. Its not obvious to me what the benchmark is supposed to demonstrate, and how to interpret its results vs all the other BatchSpanProcessor*Benchmark in the same package.

It is reasonable to try to exercise the queue limits of BatchSpanProcessor, but not sure how that applies here:

  • We have a BatchSpanProcessor configured to export to a DelayingSpanExporter
  • DelayingSpanExporter will return a success response code after some configurable delay
  • The benchmark starts a configurable number of span in the setup code, then…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iRevive
Comment options

Answer selected by iRevive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants