Skip to content

fix(spans): add more observability for SpanFlusher.main timeout#106825

Merged
lvthanh03 merged 1 commit intomasterfrom
tony/more-logging-timeout
Jan 22, 2026
Merged

fix(spans): add more observability for SpanFlusher.main timeout#106825
lvthanh03 merged 1 commit intomasterfrom
tony/more-logging-timeout

Conversation

@lvthanh03
Copy link
Member

Adds more logging to identify where SpanFlusher subprocess hangs during startup. The subprocess fails to become healthy within 120s intermittently, but we only see logs up to configure() completing ("Using configuration..."), not the actual main function starting.

The hang is somewhere in between:

  • configure() completing
  • add_global_tags()
  • Unpickling the function/args
  • Calling main_fn()

@lvthanh03 lvthanh03 requested a review from a team as a code owner January 22, 2026 20:54
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 22, 2026
@lvthanh03 lvthanh03 enabled auto-merge (squash) January 22, 2026 21:03
@lvthanh03 lvthanh03 merged commit 9b0e5dc into master Jan 22, 2026
71 of 73 checks passed
@lvthanh03 lvthanh03 deleted the tony/more-logging-timeout branch January 22, 2026 21:17
@github-actions github-actions bot locked and limited conversation to collaborators Feb 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants