View a markdown version of this page

Sentry connection options - AWS Glue

Sentry connection options

The following are connection options for Sentry:

  • ENTITY_NAME – (Required) Used for Read. The name of the Sentry object to read.

  • SELECTED_FIELDS – Default: empty (SELECT *). Used for Read. The columns you want to select for the object.

  • FILTER_PREDICATE – Default: empty. Used for Read. A filter predicate that AWS Glue pushes down to Sentry for the fields listed in the filtering support table below. Supply it as a AWS Glue FILTER_PREDICATE option (for example, from a Spark DataFrame filter).

Sentry supports server-side (pushed-down) filtering on the following entities, with the operators shown, through FILTER_PREDICATE:

EntityFilterable fieldsSupported operators
organizations-dashboardsquery, filterequals only
organizations-detectorsprojectId, type, enabled, queryequals only
organizations-environmentsvisibilityequals only
organizations-issuesquery, environment, project, statsPeriod, start, endequals only
organizations-membersqueryequals only
organizations-monitorsproject, environment, ownerequals only
organizations-releasesquery, project, environmentequals only
organizations-tagsproject, statsPeriod, start, endequals only
projectsqueryequals only
teamsquery, detailedequals only

The query field accepts Sentry search syntax, such as is:unresolved, instead of an exact value. The statsPeriod field takes a relative period such as 24h or 14d and overrides start and end. The visibility field accepts all (the default), visible, or hidden. Except for projectId, type, and enabled on organizations-detectors, these fields are used only for filtering and are not returned as columns.

AWS Glue applies filters on any other Sentry entity after it reads records, through the Spark DataFrame filters.