-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fix overflowing table on searchable properties screen #7319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
stephanie-anderson
merged 16 commits into
master
from
replace-overflowing-table-with-list
Jul 10, 2023
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8fa0ed6
- fix searchable properties (overflowing table)
stephanie-anderson 453f70f
style(lint): Auto commit lint changes
getsantry[bot] 85dde46
Adding an alternative to the possibility to filter the overall proper…
stephanie-anderson ef11d6d
style(lint): Auto commit lint changes
getsantry[bot] b58667b
style(lint): Auto commit lint changes
getsantry[bot] 659a027
style(lint): Auto commit lint changes
getsantry[bot] 77e9b1a
style(lint): Auto commit lint changes
getsantry[bot] c2eb35e
style(lint): Auto commit lint changes
getsantry[bot] faed6ce
style(lint): Auto commit lint changes
getsantry[bot] a3310c0
style(lint): Auto commit lint changes
getsantry[bot] 1b99865
style(lint): Auto commit lint changes
getsantry[bot] 8a26730
Update src/docs/product/sentry-basics/search/searchable-properties/re…
stephanie-anderson 8977672
Update src/docs/product/sentry-basics/search/searchable-properties/is…
stephanie-anderson 6d44df4
Update src/docs/product/sentry-basics/search/searchable-properties/ev…
stephanie-anderson 31acffb
Remove combined list as it is no longer needed
stephanie-anderson e2fb5d0
Suggestion didn't take @GitHub, redoing it here
stephanie-anderson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
274 changes: 0 additions & 274 deletions
274
src/docs/product/sentry-basics/search/searchable-properties.mdx
This file was deleted.
Oops, something went wrong.
717 changes: 717 additions & 0 deletions
717
src/docs/product/sentry-basics/search/searchable-properties/events.mdx
Large diffs are not rendered by default.
Oops, something went wrong.
60 changes: 60 additions & 0 deletions
60
src/docs/product/sentry-basics/search/searchable-properties/index.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
title: Searchable Properties | ||
sidebar_order: 10 | ||
description: "Learn more about searchable properties." | ||
--- | ||
|
||
Sentry's search provides you with reserved keywords, like `is`, `user`, `server`, and `browser`, that you can use to search on the properties of issues, events and replays (as well as the special case of releases). You can also create [custom tags](#custom-tags) on which to search. This page provides guidance for how to use these properties and links you to the respective seachable property lists. | ||
|
||
## Search Properties | ||
|
||
Sentry's searchable properties fall into one of four categories: | ||
|
||
- [Issue properties](/product/sentry-basics/search/searchable-properties/issues/) | ||
- [Event properties](/product/sentry-basics/search/searchable-properties/events/) | ||
- [Session replay properties](/product/sentry-basics/search/searchable-properties/session-replay/) | ||
- [Release properties](/product/sentry-basics/search/searchable-properties/releases/) | ||
|
||
## Search Tips | ||
|
||
Search terms should auto-complete, and when they don't that means you have an invalid dataset. If you enter an invalid search term and tap Return or Enter, an error message is displayed. For example, in **Discover**, you cannot search using a grouping function (properties with a parentheses in the key, for example `epm()`) if you don't already have a grouping function included in the "Results" table columns. | ||
|
||
When you search using a property that's a function, if the key includes a parameter, you still need to add a filter or value to have a complete search token. For example, the function `count_unique(field)` takes whichever field you choose as the parameter and then you add a number as your value to filter on. So a typical search might look like: `count_unique(user):>=20`. | ||
|
||
Other things to note: | ||
|
||
- Search properties that are duration or number types are typically used with a [comparison operator](/product/sentry-basics/search/#comparison-operators) rather than just a colon (`:`) to find exact matches, as an exact match is unlikely to exist. | ||
- Properties with the notation "Doesn't take a parameter" still require a filter or value, but don't take a parameter inside the parentheses. For example, `epm():>12`. | ||
- Default fields/parameters in search functions can be updated. For example, the default parameters `column`, `operator`, and `value` can be updated for `count_if(column,operator,value)`. | ||
|
||
## Custom Tags | ||
|
||
Additionally, you can use any tag you’ve specified as a token. Tags are various key/value pairs that get assigned to an event, and you can use them later as a breakdown or quick access to finding related events. | ||
|
||
Most SDKs generally support configuring tags by <PlatformLink to="/enriching-events/tags/">configuring the scope</PlatformLink>. | ||
|
||
Several common uses for tags include: | ||
|
||
- The hostname of the server | ||
- The version of your platform (for example, iOS 5.0) | ||
- The user’s language | ||
|
||
## Device Classification | ||
|
||
`device.class` provides a simple way for developers to understand the performance level of an event's client device in a single searchable property. This is particularly useful for projects that serve a large range of mobile devices, in which case developers would typically have had to parse through a vast range of specs and models across iOS and Android. | ||
|
||
Possible values for `device.class` are `high`, `medium`, and `low`, indicating the estimated performance level of the device. This is a calculated property that is based on the following specs: | ||
|
||
| `device.class` for iOS | `model` | | ||
| ---------------------- | ----------------------------------- | | ||
| high | iPhone 12 series or higher | | ||
| medium | iPhone 7 series to iPhone 11 series | | ||
| low | iPhone 6 series or lower | | ||
|
||
| `device.class` for Android | `processor_count` | `processor_frequency` | `memory_size` | | ||
| -------------------------- | ----------------- | --------------------- | ------------- | | ||
| high | >= 8 | >= 2500 MHz | >= 6 GiB | | ||
| medium | >= 8 | >= 2000 MHz | >= 4 GiB | | ||
| low | < 8 | < 2000 MHz | < 4 GiB | | ||
|
||
These classifications are based on an analysis of the mobile devices available in the market today and are subject to change as the market evolves. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.