Skip to main content

Querying by Custom Tags Shows No Result

Updated over a month ago

Issue

When querying by custom tags, I get no results even though I know data should exist.

Applies To

  • All Sentry users

Symptoms

  • Data seems to be missing when creating a query for certain custom tags

Resolution

As documented here, there are reserved keywords that we do not recommend using as tags. If you do use these reserved keywords (such as project_id), you must use the following syntax when querying for it: tags[tag_name]:tag_value .

For example: tags[project_id]:tag_value.

The list of reserved keywords can be found in our repository by searching for tags[${key}]. The relevant list of keywords used in these functions are:

Did this answer your question?