Opbeat is joining forces with Elastic – Learn more about Elastic APM

Git integration with GitLab

When setting up a new app on Opbeat you will be asked to setup Git integration. Some Git services like GitHub and Bitbucket are natively supported in Opbeat, while others can be connected using SSH keys.

See the Git integration article for a list of supported services.

How to connect a GitLab repository

1. Add a deploy key to your repository

To annotate stacktraces and help you correlate errors to releases, Opbeat needs to have read-access to your repository. For this we use deploy keys.

Add the deploy key to your repository. Refer to GitLab’s documentation for how to do this. Remember you can always contact our Support if you need help.

2. Paste the SSH url to your repository

Final step is to input the SSH URL for your repository.

Note: It is important that you use the SSH URL and not HTTPS, as the latter does not use the deploy key for authentication.

Now click the ‘Connect’ button and you have integrated your Opbeat app with your GitLab repository.

How to change repository

If you want to change the url of your Git repository, go to the settings for your app and click the “Change repository” button. If you are changing from a Github or Bitbucket repository, make sure you choose the Others tab to start setting up the Git integration.