Skip to content

ref(core): Extract and reuse getFinalScopeData helper #18586

Description

@github-actions

Note

The pull request "ref(core): Extract and reuse getFinalScopeData helper" was created by @Lms24 but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.

We have multiple places in which we need to combine the ScopeData of global, isolation and current scopes, to apply this data to telemetry items (events, logs, metrics, soon also spansV2). Previously, we did this in-place or with helpers that were not re-used. This PR now unifies the various locations to one helper from core which can be reused everywhere.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions