Skip to content

Create API for setting up error tracking integration in project

Problem to Solve

Right now it's impossible to programmatically set up Sentry integrations within a repository, as no API is provided to configure it. This means enabling error tracking across a large number of projects by adding it to those respective repositories is an error prone and time consuming process. Additionally, it requires elevated access, which a limited number of people possess.

Intended users

Further details

This work supports the Error Tracking Vision.

Proposal

Create API that allows users (with the right permissions) to configure the Sentry integration within Gitlab (i.e. add an API key and select a project).

setup error tracking integration in a project where the Sentry project name is already known

Permissions and Security

The auth token should be hidden, much in the same way that the webhook secrets are.

Links / references

Edited by Sarah Waldner