Install GitLab App for elmah.io
Generate Personal Access Token
To allow elmah.io to create issues on GitLab, you will need to generate a Personal Access Token. To do so, log into GitLab, click your profile photo in the top right corner, and select Preferences. On the Preferences page click the Access Tokens menu item:
Input a token name, expiration date, and check the api checkbox. Click the Create personal access token button and copy the generated token.
Install the GitLab App on elmah.io
Log into elmah.io and go to the log settings. Click the Apps tab. Locate the GitLab app and click the Install button:
Paste the token copied in the previous step into the Token textbox. In the Project textbox, input the ID or name of the project you want issues created on. If you are self-hosting GitLab, input your custom URL in the URL textbox (for example https://gitlab.hooli.com).
Click the Test button and observe it turn green. When clicking Save, the app is added to your log. When new errors are logged, issues are automatically created in the configured GitLab project.
This article was brought to you by the elmah.io team. elmah.io is the best error management system for .NET web applications. We monitor your website, alert you when errors start happening, and help you fix errors fast.