getsentry / getsentry/sentry

Searchable custom context

Open
#75,531 8 comments 11 reactions 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

It's not 100% clear whether this is currently possible or not, but if so, I could not discover how —

It would be great if Sentry's issue search would allow us to search issued based on structured custom context values. Without this ability, the developer is incentivized to neglect structured custom contexts for tags instead, which are searchable.

In addition, custom data associated with the sentry user in the SDK similarly ought to be surfaced.

### Solution Brainstorm

eg.
```
....:
```
or
```
context.....:
```

For data associated to the sentry user, eg. through `sentryUser.data = ["custom_key": "value"]`:
```
user.:
```
or
```
user.data.:
```

Since user-associated data appears in the issue event identically as a custom context named "User", perhaps the best consistency would be achieved with the combination:
```
....:
user.:
```

### Product Area

Issues

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.