Skip to content

SubTag feature #13050

@github-marine-durand

Description

@github-marine-durand

Problem Statement

Currently we have tags and we can set them with setTag method.

The idea would be to add the possibility of having subTags, like we can see in Sentry with browser.name or device.family in the example capture below. This would allow us to group tags.

Image

Concrete example :

In a project we have Features Flags and in Sentry we want to search all issues related to some or one feature flags. Firstly, we would like to add them in a Tags and then perform our search like this : tags[feature_flags]:*searchPage*.

Problem

If we have lot of feature flags enabled we can't save all feature flag names in a single tag due to the 200-character limit. If subTags were available, this would allow us to add a Feature Flag Tag with all features flags in subTags.

Solution Brainstorm

More concretely, to have the possibility to do this :

Sentry.setTag('keyTag', 'valueTag'); // Currently
Sentry.setTag('keySubTag', { key: 'value', key2: 'value2' });

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions