Agent Office
LEARN / DEVOPS ENGINEER

DevOps best practices

The best DevOps engineers build each release the same way every time and control who may deploy it, and they page a person only for a problem that users feel and that someone can act on. In an incident one commander holds the state and one group changes the system, and afterwards the team writes a postmortem without blame and follows a few delivery numbers over time. An AI DevOps Engineer looks into each failed build and each alert and hands the findings to your engineer on call, who decides on each change to production.

Updated by Pavel Hegler

An alertWhat changed, and since when?
Your AI DevOps EngineerThe findings

Dashboards, logs and the last deployments, on the alert

Your engineer on callThe decision

The rollback or the fix

The process

These steps come from four chapters of the Google SRE book on sre.google, each with its own authors, from the guide of DORA to its delivery metrics and from the publisher's page of Accelerate. We put them in the order of one change, from the build to the review after an incident.

Dinah McNutt, Google SRE

1. Build each release the same way

In the chapter on release engineering, McNutt writes that SREs need to know that the binaries and configurations they use are built in a reproducible, automated way, so that releases are repeatable. At Google, she writes, several layers of access control determine who can perform specific operations, and the gated operations include approving source code changes and deploying a new release. The release system also produces a report of all changes in a release, which can expedite troubleshooting when there are problems. We take from this that each failed build gets a first look at the step that broke and the commit since which it fails, and each deploy stays a step for the engineers that you named.

“Changes to any aspect of the release process should be intentional, rather than accidental.”
Release Engineering
Rob Ewaschuk, Google SRE

2. Alert on what users feel

The chapter on monitoring distributed systems, by Ewaschuk, names four golden signals, latency, traffic, errors and saturation, and says that if you can only measure four metrics of your user-facing system, you focus on these four. Its questions for a new alerting rule include whether it detects a condition that is urgent, actionable and actively or imminently user-visible, and it says that it is better to spend much more effort on catching symptoms than causes. We take from this that each alert gets checked against the four signals and the last deployments, and an alert that needs no action goes on a list for your team to tune.

“Every page should be actionable.”
Monitoring Distributed Systems
Andrew Stribblehill, Google SRE

3. Declare the incident early

In the chapter on managing incidents, Stribblehill writes that it is better to declare an incident early than to spin up the incident management framework hours into a burgeoning problem, and he asks you to set clear conditions for declaring one. His team follows broad guidelines: an event is an incident if a second team is needed to fix the problem, if the outage is visible to customers, or if the issue is unsolved even after an hour of concentrated analysis. We take from this that you write down with your AI DevOps Engineer what counts as an incident for you, and an alert that meets it goes to your engineer on call with the findings.

Managing Incidents
Andrew Stribblehill, Google SRE

4. Give the incident one commander

The same chapter splits the response into roles. The incident commander holds the high-level state of the incident and assigns the responsibilities, and the Ops lead works with the commander and applies the operational tools. The most important responsibility of the commander, the chapter says, is to keep a living incident document, and it says that the post of commander must be handed off clearly at the end of the working day. We take from this that a person on your team commands each incident and decides each change in it, and your AI DevOps Engineer writes its findings and their times into the document of the incident for that person.

“The operations team should be the only group modifying the system during an incident.”
Managing Incidents
John Lunney and Sue Lueder, Google SRE

5. Write the postmortem without blame

The chapter on postmortem culture calls a postmortem a written record of an incident, its impact, the root causes and the follow-up actions to prevent the incident from recurring. It says that it is important to define the criteria for a postmortem before an incident occurs, and it says that a truly blameless postmortem focuses on the contributing causes without indicting any individual or team. We take from this that your AI DevOps Engineer drafts the summary of each incident with the timeline and the follow-up tasks, and your engineers review it and own each action.

“Blameless postmortems are a tenet of SRE culture.”
Postmortem Culture: Learning from Failure
DORA

6. Follow a few delivery numbers

The guide of DORA to its software delivery performance metrics, by Nathen Harvey, in the text last updated on 5 January 2026, names five metrics, three for throughput and two for instability, from change lead time to deployment rework rate. Among the pitfalls it lists setting the metrics as a goal and comparing vastly different applications. The publisher's page of Accelerate, by Nicole Forsgren, Jez Humble and Gene Kim, says that through four years of research, including data collected from the State of DevOps reports, the authors set out to find a way to measure software delivery performance and what drives it. We take from this that you follow a few delivery numbers for each service over time, and the weekly list of your AI DevOps Engineer adds the flaky tests and the slow steps with their numbers.

“DORA’s research has repeatedly demonstrated that speed and stability are not tradeoffs.”
DORA’s software delivery performance metrics

Source: Andrew Stribblehill, Managing Incidents, in Site Reliability Engineering, Google, © 2017 on the page · Rob Ewaschuk, Monitoring Distributed Systems, in Site Reliability Engineering, Google, © 2017 on the page · DORA, Nathen Harvey, DORA’s software delivery performance metrics, current text, last updated 5 January 2026

What it takes

Your AI DevOps Engineer works in your CI and your monitoring with its own login and the read access that you give it, so your engineer on call starts from the findings with no babysitting on your side. Pages go to a person, and each change to production stays with your engineers.

Each build and each alertLooked into
  • The step that broke, the commit and who changed it
  • The alert next to the dashboards, the logs and the last deployments
  • One message for your engineer on call with what was tried
After each incident and each weekWritten down
  • The incident summary with the timeline and the follow-up tasks
  • The runbook with the steps that worked
  • The flaky tests and the slow steps, with their numbers

Every failed build

Each failed build gets a first look at the step that broke, the commit since which it fails and who changed it.

Alerts with findings

An alert gets checked against the dashboards, the logs and the last deployments, and the findings go onto the alert for your engineer on call.

A proposal for your engineer

When a rollback looks like the fix, it goes to your engineer on call as a proposal, and a change to code goes in as a pull request for review.

Runbooks and summaries

After each incident the runbook gets the steps that worked, and your team gets a short summary with the timeline, the cause and the follow-up tasks.

What you keep

  • Each change to production

    A person on your team approves each deploy, each rollback and each release, and who has access to production is your decision. When an AI should stop and ask.

  • The incident

    A person on your team commands each incident and makes each decision in it, and you decide what counts as an incident.

  • Pages at night

    Pages go to the person on call, and your AI DevOps Engineer adds its findings to the alert for that person.

  • Deleting and spending

    Deleting resources, logs or data goes to you first, and anything that costs money in the cloud waits for your YES.

How you check

The monitoring chapter tells of a team at Google whose alerts fired so often that it spent significant amounts of time triaging them to find the few that were really actionable, and it often missed the problems that actually affected users. We take from this that you read the findings of your AI DevOps Engineer next to the alerts that needed no action, and you tune the noisy ones with your team.

What you openWhenWhat you want to see
Three alerts with their findingsEach weekYour engineer on call acted on the findings with no new search
The incident summariesAfter each incidentThe timeline matches what your team saw
The list of flaky tests and slow stepsOnce a weekEach item has its numbers and an owner on your team
The alerts that needed no actionOnce a monthFewer each month, each with its reason

Among the common pitfalls, the DORA guide names setting the metrics as a goal: ignoring Goodhart’s law and making a broad statement, for example that every application must deploy several times a day before the end of the year, increases the likelihood that teams will try to game the metrics. We take from this that you read the delivery numbers as a trend for each service, and you set your own targets with your team.

Source: Rob Ewaschuk, Monitoring Distributed Systems, in Site Reliability Engineering, Google, © 2017 on the page · DORA, Nathen Harvey, DORA’s software delivery performance metrics, current text, last updated 5 January 2026

The first week

Your AI DevOps Engineer starts with read access and the history of your last incidents, so the alerts of its first Friday come with findings, together with a list of the tests that fail now and then.

  1. MondayRead accessTo the CI and the monitoring, plus a first call
  2. Tuesday to ThursdayPast incidentsWhich alerts it looks into first, agreed with you
  3. FridayFindings on the alertsAnd the first list of flaky tests
  4. Your engineer on callThe decisionOn each rollback and each deploy
OWNER · HEGLER TECHNOLOGIES

Written by Pavel Hegler

Mission: "Employ AI employees alongside humans without technical burdens."

Updated

About Hegler Technologies

Want to stay updated?

Leave your email and Elena writes to you herself. She is one of our AI employees, so you see how one works before you hire your own. Privacy.