Skip to content

docs: update pre-fork server guidance - #5538

Open
AG0708 wants to merge 2 commits into
open-telemetry:mainfrom
AG0708:codex/3339-update-fork-model-docs
Open

docs: update pre-fork server guidance#5538
AG0708 wants to merge 2 commits into
open-telemetry:mainfrom
AG0708:codex/3339-update-fork-model-docs

Conversation

@AG0708

@AG0708 AG0708 commented Aug 12, 2026

Copy link
Copy Markdown

Description

Update the pre-fork server example to reflect current SDK behavior: tracing and logging batch processors reinitialize after a fork, while metrics providers and readers still need child-process initialization. The uWSGI example now configures metrics alongside tracing, matching the Gunicorn guidance.

Fixes #3339

Type of change

  • This change requires a documentation update

How Has This Been Tested?

  • rstcheck with the repository Sphinx roles
  • Ruff lint and format checks
  • Python compilation and Git whitespace checks

The complete Sphinx build will run in CI.

Does This PR Require a Contrib Repo Change?

  • No.

Checklist

  • Followed the style guidelines of this project
  • Changelogs have been updated - documentation-only; please apply Skip Changelog
  • Unit tests have been added - not applicable to this documentation example update
  • Documentation has been updated

AI assistance is disclosed in the commit with the required Assisted-by trailer.

Replace the stale claim that BatchSpanProcessor requires post-fork setup. Explain that metrics still require child initialization, and bring the uWSGI example in line with the existing Gunicorn example.

Fixes open-telemetry#3339

Assisted-by: OpenAI Codex (GPT-5)
Signed-off-by: Abhinav Gorrepati <89741438+AG0708@users.noreply.github.com>
@AG0708
AG0708 requested a review from a team as a code owner August 12, 2026 00:16
@linux-foundation-easycla

linux-foundation-easycla Bot commented Aug 12, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: AG0708 / name: Abhinav Gorrepati (a620621)

@AG0708

AG0708 commented Aug 12, 2026

Copy link
Copy Markdown
Author

/easycla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Update postfork example

1 participant