Skip to content

Consider adding isolated scopes - requesting feedback #4484

Open

Description

@jamescrosswell

Important

Not sure if we want/need to do this yet - depends if there's enough demand from the community. Add a thumbs up or something here if you really really want this!

Description

From this discord thread, the SDK user is looking for a way to "Push" a scope with some tags etc. that only get applied to events captured in a certain context (e.g. the code to handle a particular button press).

This currently isn't possible in Global Mode (which we recommend for Desktop/Mobile apps) because it doesn't allow you to push new scopes:

if (IsGlobalMode)
{
_options.LogWarning("Push scope called in global mode, returning.");
return DisabledHub.Instance;
}

One solution would be to add something like Isolated scopes (which we have in the JS SDK) that could be created in GlobalMode.

Activity

  1. added
    .NET
    on Aug 29, 2025
  2. added
    Feature
    on Mar 20, 2026
  3. jamescrosswell commented on Sep 30, 2026

    @jamescrosswell
    CollaboratorAuthor

    Note this is almost the opposite of the ScopeDefaults proposal from #5197... that proposal makes a mini-global scope available for apps that have global mode off.

    This card is about making mini-isolated scopes available for apps that have global mode on.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETFeature

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions