Skip to content

conflicting information about fork-safety of BatchSpanProcessorΒ #4759

@adk-swisstopo

Description

@adk-swisstopo

Describe your environment

gunicorn+gevent

What happened?

We are trying to figure out how to add instrumentation while adding the minimum amount of code that we will need to maintain across multiple applications.

Steps to Reproduce

The opentelemetry-python documentation claims that "The BatchSpanProcessor is not fork-safe and doesn't work well with application servers (Gunicorn, uWSGI) which are based on the pre-fork web server model.". The opentelemetry.io website claims that Traces (but not Metrics) export work fine for Gunicorn with multiple workers.

Which is it? This looks inconsistent.

Expected Result

These two pages should be consistent and not look inconsistent.

Actual Result

N/A

Additional context

Could you please update either or both pages to be consistent. If they are already consistent, please make them less confusing so the it does not look inconsistent.

Would you like to implement a fix?

None

Tip

React with πŸ‘ to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions