Gitlab hero border pattern left svg Gitlab hero border pattern right svg

Production Status Status Page Getting help How to get help
Incidents Incident response Changes Managing changes
State Production Board On-Call Board  
Issue Trackers Incidents, Hotspots Changes Deltas
Slack Channels #incident-management #alerts #production
Operations Runbooks On-call Handover Document, Reports

On this page

Site Reliability Teams

The Site Reliability teams are responsible for all of GitLab's user-facing services, most notably, Site Reliability Engineers ensure that these services are available, reliable, scalable, performant and, with the help of GitLab's Security Department, secure. This infrastructure includes a multitude of environments, including staging, (production) and, among others (see the list of environments).

SREs are primarily focused on the's availability, and have a strong focus on building the right toolsets and automations to enable development to ship features as fast and bug-free as possible, leveraging the tools provided by GitLab (we must dogfood).

Another part of the job is building monitoring tools that allow quick troubleshooting as a first step, then turning this into alerts to notify based on symptoms, to then fixing the problem or automating the remediation. We can only scale by being smart and using resources effectively, starting with our own time as the main scarce resource.

The Production Board

The Production Board keeps track of the state of Production, showing, at a glance, incidents, hotspots, changes and deltas related to production, and it also includes on-call reports.

For a detailed description of the board, see production/board.

We want to make ready for mission critical workloads. That readiness means:

  1. Speedy (speed index below 2 seconds)
  2. Available (uptime above 99.95%)
  3. Durable (automated backups and restores, with regular and frequent verification and validation testing)
  4. Secure (prioritize requests of our security team)
  5. Deployable (quickly deploy and provide metrics for new versions in all environments)


  1. Security: reduce risk to its minimum, and make the minimum explicit.
  2. Transparency, clarity and directness: public and explicit by default, we work in the open, striving for signal over noise.
  3. Efficiency: smart resource usage, we should not fix scalability problems by throwing more resources at it but by understanding where the waste is happening and then working to make it disappear. We should work hard to reduce toil to a minimum by automating all the boring work out of our way.

How to Get Help

Workflow / How we work

There are now 3 infrastructure teams reporting to

  1. Dev & Ops Infra team - Jose Finotto
  2. Secure & Defend Infra team - Anthony Sandoval
  3. CI/CD & Enablement Infra team - David Smith

Each team manages its own backlog related to its OKRs. We use Milestones as timeboxes and each team can roughly align with the Planning blueprint

Boards: SRE On-call and Teams

The three teams share the on-call rotations for The two SREs in the weekly rotation (EMEA and Americas) share responsibility for triaging issues and managing tasks on the SRE On-call board. The board uses the group SRE:On-call label to identify issues across subgroups in gitlab-com and is not aligned with any single milestone.

Engineers not on-call should focus on their team's board(s) (e.g. AS TEAM) so they remained focused on the current milestone.

Incoming requests of the Infrastructure Team

Incoming requests of the infrastructure team can start in the Current milestone, but can be triaged out to the correct teams.

Add issues at any time to the infrastructure issue tracker. Let one of the managers for the production team know of the request. It would be helpful for our prioritization to know the timeline for the issue if your team has commitments related to it. We do reserve part of our time for interrupt requests, but that does not always mean we can fit in everything that comes to us.

Each team's manager will triage incoming requests for the services their team owns. In some cases, we may decide to pull that work immediately, in other cases, we may defer the work to a later milestone if we have higher priority currently in progress. The 3 managers will be meeting twice a week and we can share efforts and rebalance work if needed. Work that is ready to pull will be added to the team milestone(s) and appear on their boards.

Bigger projects should start as a Design MR so we can get a thought out process on what we want to achieve and then make an Epic for the design to group its issues together.

Issue Trackers


The infrastructure issue tracker is the backlog for the infrastructure team and tracks all work that SRE teams are doing that is not related to an ongoing change or incident.

Production Issue Tracker

We have a production issue tracker. Issues in this tracker are meant to track incidents and changes to production that need approval. We can host discussion of proposed changes in linked infrastructure issues. These issues should have ~incident or ~change and notes describing what happened or what is changing with relevant infrastructure team issues linked for supporting information.

Standups and Retros

Standups: We do standups with a bot that will ask for updates from each team member at 11AM in their timezone. Updates will go into our slack channel.

Retros: We are testing async retros with another bot that happens the second Wednesday of our milestone. Updates from that retro will again go to our slack channel. A summary will also be made so that we can vote on important issues to talk about in more depth. These can then help us update our themes for milestones.

Why infrastructure and production queues?


Long term, additional teams will perform work on the production environment:

We cannot keep track of events in production across a growing number of functional queues.

Furthermore, said teams will start to have on-call rotations for both their function (e.g., security) and their services. For people on-call, having a centralized tracking point to keep track of said events is more effective than perusing various queues. Timely information (in terms of when an event is happening and how long it takes for an on-call person to understand what's happening) about the production environment is critical. The production queue centralizes production event information.


Functional queues track team workloads (infrastructure, security, etc) and are the source of the work that has to get done. Some of this work clearly impacts production (build and deploy new storage nodes); some of it will not (develop a tool to do x, y, z) until is deployed to production.

The production queue tracks events in production, namely:

Over time, we will implement hooks into our automation to automagically inject change audit data into the production queue.

This also leads to a single source of data. Today, for instance, incident reports for the week get transcribed to both the On-call Handoff and Infra Call documents (we also show exceptions in the latter). These meetings serve different purposes but have overlapping data. The input for this data should be queries against the production queue versus the manual build in documents.

Additionally, we need to keep track of error budgets, which should also be derived from the production queue.

We will also be collapsing the database queue into the infrastructure queue. The database is a special piece of the infrastructure for sure, but so are the storage nodes, for example.

All direct or indirect changes to authentication and authorization mechanisms used by GitLab Inc. by customers or employees require additional review and approval by a member of at least one of following teams:

This process is enforced for the following repositories where the approval is mandatory using MR approvals:

Additional repositories may also require this approval and can be evaluated on a case-by-case basis.

When should we loop the security team in on changes? If we are making major changes to any of the following areas:

  1. Processing credentials/tokens
  2. Storing credentials/tokens
  3. Logic for privilege escalation
  4. Authorization logic
  5. User/account access controls
  6. Authentication mechanisms
  7. Abuse-related activities

Labeling Issues

We use issue labels within the Infrastructure issue tracker to assist in prioritizing and organizing work. Prioritized labels are:


Label Description Estimate to fix
~P1 Urgent Priority Has to be executed immediately
~P2 High Priority Has to be executed at the maximum in 2 milestones
~P3 Medium Priority Has to be executed at the maximum in 6 milestones
~P4 Low Priority Lower priority to be executed


Label Meaning Impact on Functionality Example
~S1 Blocker Outage, broken feature with no workaround Unable to create an issue. Data corruption/loss. Security breach
~S2 Critical Severity Broken feature, workaround too complex & unacceptable Can push commits, but only via the command line
~S3 Major Severity Broken feature, workaround acceptable Can create merge requests only from the Merge Requests page, not through the issue
~S4 Low Severity Functionality inconvenience or cosmetic issue Label colors are incorrect / not being displayed

Type Labels

Type labels are very important. They define what kind of issue this is. Every issue should have one or more.

Label Description
~Change Represents a Change on infrastructure please check details on : Change
~Incident Represents a Incident on infrastructure please check details on : Incident
~UserAccessRequest Standard access requests
~Oncall Are prioritized to be worked on by the current oncall team members
~Hotspot Label for problems that can get higher priority
~Database Label for problems related to database
~Security Label for problems related to security


The services list is mentioned here :

Services Criticality Labels:

Service Criticality labels help us to define, how critical is the service and could be a change in the infrastructure, considering how will affect the user experience in case of a failure. I.e. ~C1 Postgresql or Redis Master. As most of the services could reach different levels of criticality we consider here the highest, also we have the template of actions for a change depending on the criticality:

Label Description
~C1 Vital service and is a single point of failure, if down the application will be down
~C2 Important service, if down some functionalities will not be available from the application
~C3 Service in case of some instance is down or the service, we can have performance degradation
~C4 Services that could be in maintenance mode or would not affect the performance of the application

Service Redundance Level

The service redundancy level helps us to identify what services has the avaiability of failover or if there is another mechanism of redundancy.

Label Description I.e.
~R1 The loss of a single instance will affect all the users Instance in PostgreSql or Redis
~R2 The loss of a single instance will affect a subset of users Instance in Gitaly
~R3 The loss of a single instance would not affect any user Instance of grafana

Goals and Meta Goal

~goals are issues that are in a Milestone and we agreed as a team that we will do everything in our power to deliver them. Goal issues should fit in one Milestone, that is, they are deliverable in a single week time, if they do not fit in one Milestone we are probably talking about a ~meta ~goal.

Other Labels

We use some other labels to indicate specific conditions and then measure the impact of these conditions within production or the production engineering team. This is specially important from the time investment in specific parts of the production engineering team, to reduce toil or to reduce the chance of a failure by accessing to production more than enough.

Labels that are particularly important for gathering data are:

Always Help Others

We should never stop helping and unblocking team members. To this end, data should always be gathered to assist in highlighting areas for automation and the creation of self-service processes. Creating an issue from the request with the proper labels is the first step. The default should be that the person requesting help makes the issue; but we can help with that step too if needed.

If this issue is urgent for whatever reason, we should label them following the instructions above and add them to the ongoing Milestone.

Issue or Outage Hand-off

Ongoing outages, as well as issues that have the ~(perceived) data loss label and are (therefore) actively being worked on need a hand off to happen as team members cycle in and out of their timezones and availability. The on call log can be used to assist with this. (See link at top to on-call log).

On-Call Support

To ensure 24x7 coverage of emergency issues, we currently have split on-call rotations between EMEA and AMER regions; team members in EMEA regions are on-call from 0400-1600 UTC, and team members in AMER regions are on-call from 1600-0400 UTC. We plan to extend this to include team members from the APAC region in the future, as well. This forms the basis of a follow-the-sun support model, and has the benefit for our team members of reducing (or eliminating) the stress of responding to emergent issues outside of their normal work hours, as well as increasing communication and collaboration within our global team.

For further details about managing schedules, workflows, and documentation, see the on-call runbook.

SLA for paging On-Call team members

When an on-call person is paged, either via the /pd command in slack or the automated monitoring systems, the SRE member will have a 15 minute SLA to acknowledge or escalate the alert.

This is also noted in the On-Call section of the handbook.

Because GitLab is an asynchronous workflow company, @mentions of On-Call individuals in slack will be treated like normal messages and no SLA for response will be attached or associated with them. This is also because notifications over phones via Slack have no escalation policies. PagerDuty has policies that team members and rotations can configure to make sure an alert is escalated when no person has acknowledged the alert.

If you need to page a team member from slack - you can do the /pd "your message to the on-call here" to send out an alert to the currently on-call team members.

Production Events Logging

There are 2 kind of production events that we track:

Incident Subtype - Abuse

For some incidents, we may figure out that the usage patterns that led to the issues were abuse. There is a process for how we define and handle abuse.

  1. The definition of abuse can be found on the security abuse operations section of the handbook
  2. In the event of an incident affecting availability, the SRE team may take actions immediately to keep the system available. However, the team must also immediately involve our security abuse team. A new security on call rotation has been established in PagerDuty - There is a Security Responder rotation which can be alerted along with a Security Manager rotation.


Summary of Backup Strategy

For details see the runbooks, in particular regarding details on GCP snapshots and Database backups using WAL-E (encrypted)