GitLab

Sentry’s new GitLab integration helps you find and fix bugs faster by using data from your GitLab commits. Additionally, you can streamline your triaging process by creating a GitLab issue directly from Sentry. Note: this feature is currently available for Early Adopters. You can become an Early Adopter by navigating to your Organization Settings > General Settings.

Configure GitLab

  1. In Sentry, navigate to Organization Settings > Integrations. Note: only users with Owner and Manager permissions have access.

  2. Within Integrations, find the GitLab icon and click ‘Install.’

    Sentry integrations page showing GitLab integration icon and install button.

  3. In the resulting modal, click ‘Add Installation.’

    Sentry integrations page showing GitLab integration and how to connect Sentry to a GitLab instance.

  4. In the pop-up window, complete the instructions to create a Sentry app within GitLab. Once you’re finished, click ‘Next.’

    Sentry integrations page showing GitLab configuration modal and Sentry app within GitLab.

  5. Fill out the resulting GitLab Configuration form with the following information:

    1. The GitLab URL is the base URL for your GitLab instance. If using gitlab.com, enter https://gitlab.com/

    2. Find the GitLab Group Path in your group’s GitLab page.

      GitLab group's page showing group path.

    3. Find the GitLab Application ID and Secret in the Sentry app within GitLab.

      GitLab application id and secret in Sentry app within GitLab.

    4. Use this information to fill out the GitLab Configuration and click ‘Submit.’gitlab

      GitLab configuration form.

  6. In the resulting panel, click ‘Authorize.’

  7. In Sentry, return to Organization Settings > Integrations. You’ll see a new instance of GitLab underneath the list of integrations.

  8. Next to your GitLab Instance, click ‘Configure.’ Note: It’s important to configure to receive the full benefits of commit tracking.

    GitLab instance with connected group and highlighted configure button.

  9. On the resulting page, click ‘Add Repository’ to select which repositories you’d like to begin tracking commits.

    GitLab instance with connected group and highlighted configure button.

In this guide