Learn how to configure your profile, get notifications from Opsgenie and view on-call schedules.
Investigating incidents with Gitlab CI/CD is only available with Opsgenie’s Standard and Enterprise plans and only available for GitLab SaaS Ultimate users.
By connecting GitLab to your Opsgenie account, you’ll be able to select GitLab deployments as potential causes and investigate code changes during an incident. Learn more about incident investigation.
Before investigating incidents through GitLab deployments, you will need to connect a GitLab account to your Opsgenie, then map GitLab groups with Opsgenie services.
Connect your GitLab account
You can authorize multiple accounts, but you can connect only one GitLab account at a time.
From your Opsgenie account, go to Settings → GitLab under Integrations.
Select Connect groups. This will redirect you to GitLab to authenticate your GitLab account.
Log in with the account you’d like to connect to your Opsgenie. Select Authorize.
We’ll redirect you back to Opsgenie to connect your groups.
Select the GitLab group or groups you wish to connect to your account. Then select Connect.
If you have authorized more then one GitLab account and wish to connect groups from them, switch accounts from Select account dropdown.
Mapping GitLab groups with services
After mapping GitLab groups to services, you can select the deployments to that service as potential causes of that incident.
To map your GitLab groups:
Go to Services → Team settings from your Opsgenie account.
From the Definition tab, select Map GitLab project under Mapped CI/CD tools.
We’ll show you groups and projects from your connected GitLab account. Select the ones you’re using for that service. Then select Add mappings.
Go to Investigate an incident to find out how to select deployments as potential causes.