- Configuring incidents
- Embedded metrics
- Slack integration
- Zoom in issues
GitLab offers solutions for handling incidents in your applications and services, from setting up an alert with Prometheus, to receiving a notification via a monitoring tool like Slack, and automatically setting up Zoom calls with your support team.
Introduced in GitLab Ultimate 11.11.
The Incident Management features can be enabled and disabled via your project’s Settings > Operations > Incidents.
GitLab issues can automatically be created as a result of an alert notification. An issue created this way will contain the error information to help you further debug it.
To select your issue template for use within Incident Management:
- Visit your project’s Settings > Operations > Incidents.
- Select the template from the Issue Template dropdown.
GitLab can react to the alerts that your applications and services may be triggering by automatically creating issues, and alerting developers via email.
The emails will be sent to owners and maintainers of the project and will contain details on the alert as well as a link to see more information.
Prometheus alerts can be set up in both:
GitLab can accept alerts from any source via a generic webhook receiver. When you set up the generic alerts integration, a unique endpoint will be created which can receive a payload in JSON format.
GitLab can automatically close issues that have been automatically created when you receive notification that the alert is resolved.
Metrics can be embedded anywhere where GitLab Markdown is used, for example, descriptions and comments on issues and merge requests.
This can be useful for when you’re sharing metrics, such as for discussing an incident or performance issues, so you can output the dashboard directly into any issue, merge request, epic, or any other Markdown text field in GitLab by simply copying and pasting the link to the metrics dashboard.
Learn how to embed GitLab hosted metric charts.
From each of the embedded metrics panels, you can access more details about the data you are viewing from a context menu.
You can access the context menu by clicking the More actions dropdown box above the upper right corner of the panel:
The options are:
This can be useful if you are triaging an application incident and need to explore logs from across your application. It also helps you to understand what is affecting your application’s performance and quickly resolve any problems.
Data from embedded charts can be downloaded as CSV.
Learn how to embed Grafana hosted metric charts.
Slack slash commands allow you to control GitLab and view content right inside Slack, without having to leave it.
Please refer to a list of available slash commands and associated descriptions.
In order to communicate synchronously for incidents management, GitLab allows you to associate a Zoom meeting with an issue. Once you start a Zoom call for a fire-fight, you need a way to associate the conference call with an issue, so that your team members can join swiftly without requesting a link.
Read more how to add or remove a zoom meeting.
Incident Management features can be easily enabled & disabled via the Project settings page. Head to Project -> Settings -> Operations -> Incidents.
GitLab Issues can automatically be created as a result of an Alert notification. An Issue created this way will contain error information to help you further debug the error.
For GitLab-managed alerting rules, the issue will include an embedded chart for the query corresponding to the alert. The chart will show an hour of data surrounding the starting point of the incident, 30 minutes before and after.