You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding the opentelemetry-sdk project, I have a query. Since the BatchSpanProcessor creates tasks to export spans using tokio spawn, is it possible that these spawned asynchronous tasks might not be completed before the main function exits, even after executing opentelemetry::global::shutdown_tracer_provider();, resulting in spans not being fully dispatched?
In practice, I encountered this issue and delved into the code, which led to this concern. If my understanding is incorrect, please correct me.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Regarding the opentelemetry-sdk project, I have a query. Since the BatchSpanProcessor creates tasks to export spans using tokio spawn, is it possible that these spawned asynchronous tasks might not be completed before the main function exits, even after executing opentelemetry::global::shutdown_tracer_provider();, resulting in spans not being fully dispatched?
In practice, I encountered this issue and delved into the code, which led to this concern. If my understanding is incorrect, please correct me.
Beta Was this translation helpful? Give feedback.
All reactions