Skip to content

Add ability to refresh process-sensitive Resource attributes #5279

@herin049

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions