-
Sorry for asking a noob question but I'm struggling with making this demo work with the otel collector.
main.rb successfully completed. Then open the zipkin UI with browser: Here is the output of main.rb
|
Beta Was this translation helpful? Give feedback.
Answered by
rerorero
Sep 10, 2022
Replies: 1 comment 1 reply
-
I realized the default span processor exits before the first processing. I solved this by adding |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rerorero
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I realized the default span processor exits before the first processing.
opentelemetry-ruby/sdk/lib/opentelemetry/sdk/trace/export/batch_span_processor.rb
Line 49 in b11d8fb
I solved this by adding
tracer_provider.force_flush
to the last line