Skip to content

Does otlp exporter demo work with collector docker example? #1372

Answered by rerorero
rerorero asked this question in Q&A
Discussion options

You must be logged in to vote

I realized the default span processor exits before the first processing.

schedule_delay: Float(ENV.fetch('OTEL_BSP_SCHEDULE_DELAY', 5_000)),

I solved this by adding tracer_provider.force_flush to the last line

Replies: 1 comment 1 reply

Comment options

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

Answer selected by rerorero
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