Skip to content

Add ability to refresh process-sensitive Resource attributes #5279

Closed

Description

@herin049

Is your feature request related to a problem?

Resource attributes populated before os.fork(), such as process.pid, can become stale in the child process because SDK providers inherit the parent process resource.

Describe the solution you'd like

Add SDK support for refreshing process-sensitive resource attributes after fork by re-running relevant resource detectors and updating provider resources for traces, metrics, and logs.

Describe alternatives you've considered

N/A

Would you like to implement a fix?

Yes

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.

Activity

  1. self-assigned this
    on Jun 6, 2026
  2. changed the title [-]Add ability to update Provider Resource objects post initialization[/-] [+]Add ability to refresh process-sensitive Resource attributes[/+] on Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions